summaryrefslogtreecommitdiffstats
path: root/keygen
diff options
context:
space:
mode:
authorJay Sorg <jay.sorg@gmail.com>2016-11-11 21:47:19 -0800
committerJay Sorg <jay.sorg@gmail.com>2016-11-11 21:47:19 -0800
commite39f567c35a7eebc4b7666977a394d483e63a1ad (patch)
treedaa618938803201339c50b3dca3bcff1143247d7 /keygen
parent46e1173bd955ed47e88674e6144c604bf00fecbb (diff)
downloadxrdp-proprietary-e39f567c35a7eebc4b7666977a394d483e63a1ad.tar.gz
xrdp-proprietary-e39f567c35a7eebc4b7666977a394d483e63a1ad.zip
on make install, don't create rsakeys.ini if it already exists
Diffstat (limited to 'keygen')
-rw-r--r--keygen/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/keygen/Makefile.am b/keygen/Makefile.am
index 25e20d50..ffe6d956 100644
--- a/keygen/Makefile.am
+++ b/keygen/Makefile.am
@@ -18,7 +18,7 @@ xrdpsysconfdir = $(sysconfdir)/xrdp
install-data-hook:
umask 077 && \
- ./xrdp-keygen xrdp $(DESTDIR)$(xrdpsysconfdir)/rsakeys.ini
+ if [ ! -f $(DESTDIR)$(xrdpsysconfdir)/rsakeys.ini ]; then ./xrdp-keygen xrdp $(DESTDIR)$(xrdpsysconfdir)/rsakeys.ini; fi
uninstall-hook:
rm -f $(DESTDIR)$(xrdpsysconfdir)/rsakeys.ini