on make install, don't create rsakeys.ini if it already exists
This commit is contained in:
parent
46e1173bd9
commit
e39f567c35
@ -18,7 +18,7 @@ xrdpsysconfdir = $(sysconfdir)/xrdp
|
|||||||
|
|
||||||
install-data-hook:
|
install-data-hook:
|
||||||
umask 077 && \
|
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:
|
uninstall-hook:
|
||||||
rm -f $(DESTDIR)$(xrdpsysconfdir)/rsakeys.ini
|
rm -f $(DESTDIR)$(xrdpsysconfdir)/rsakeys.ini
|
||||||
|
Loading…
Reference in New Issue
Block a user