From e39f567c35a7eebc4b7666977a394d483e63a1ad Mon Sep 17 00:00:00 2001 From: Jay Sorg Date: Fri, 11 Nov 2016 21:47:19 -0800 Subject: [PATCH] on make install, don't create rsakeys.ini if it already exists --- keygen/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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