diff options
author | Jay Sorg <jay.sorg@gmail.com> | 2016-11-11 21:47:19 -0800 |
---|---|---|
committer | Jay Sorg <jay.sorg@gmail.com> | 2016-11-11 21:47:19 -0800 |
commit | e39f567c35a7eebc4b7666977a394d483e63a1ad (patch) | |
tree | daa618938803201339c50b3dca3bcff1143247d7 /keygen | |
parent | 46e1173bd955ed47e88674e6144c604bf00fecbb (diff) | |
download | xrdp-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.am | 2 |
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 |