on make install, don't create rsakeys.ini if it already exists

This commit is contained in:
Jay Sorg 2016-11-11 21:47:19 -08:00
parent 46e1173bd9
commit e39f567c35
1 changed files with 1 additions and 1 deletions

View File

@ -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