diff options
author | jsorg71 <jsorg71> | 2008-08-17 23:08:17 +0000 |
---|---|---|
committer | jsorg71 <jsorg71> | 2008-08-17 23:08:17 +0000 |
commit | f1ebdf189e36a59afc14cd58b05f2fa2dc57d9b5 (patch) | |
tree | 5e6a2c0f2d83e59160259dc4c1c969748e55dc4d /instfiles | |
parent | a7b624056ff8c08a9c2267a842ccf1c0fa9cfab2 (diff) | |
download | xrdp-proprietary-f1ebdf189e36a59afc14cd58b05f2fa2dc57d9b5.tar.gz xrdp-proprietary-f1ebdf189e36a59afc14cd58b05f2fa2dc57d9b5.zip |
added post install hook
Diffstat (limited to 'instfiles')
-rw-r--r-- | instfiles/Makefile.am | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/instfiles/Makefile.am b/instfiles/Makefile.am index 505ddf30..8f8616c5 100644 --- a/instfiles/Makefile.am +++ b/instfiles/Makefile.am @@ -6,3 +6,10 @@ startscriptdir=$(sysconfdir)/xrdp startscript_DATA = \ xrdp.sh + +# must be tab below +install-data-hook: + chmod 755 $(DESTDIR)$(sysconfdir)/xrdp/xrdp.sh + if [ -w /etc/init.d ]; then rm -f /etc/init.d/xrdp.sh; fi + if [ -w /etc/init.d ]; then $(LN_S) $(DESTDIR)$(sysconfdir)/xrdp/xrdp.sh /etc/init.d/xrdp.sh; fi + $(DESTDIR)$(bindir)/xrdp-keygen xrdp $(DESTDIR)$(sysconfdir)/xrdp/rsakeys.ini |