[debian-edu-commits] debian-edu/pkg-team/ 08/159: fine tune postinstall
Dominik George
natureshadow-guest at moszumanska.debian.org
Tue Feb 23 10:04:19 UTC 2016
This is an automated email from the git hooks/post-receive script.
natureshadow-guest pushed a commit to branch master
in repository xrdp.
commit f018cb7c761c8537da27098d4a5d387a3ab53212
Author: Gustavo Homem <gustavo at angulosolido.pt>
Date: Wed Mar 20 16:49:12 2013 +0000
fine tune postinstall
---
postinst | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/postinst b/postinst
index c27cd65..37e4931 100644
--- a/postinst
+++ b/postinst
@@ -8,14 +8,14 @@ fi
XRDP="xrdp"
CHOWN="/bin/chown"
ADDUSER="/usr/sbin/adduser"
+SESMANLOG="/var/log/xrdp-sesman.log"
[ -d /var/run/xrdp ] || mkdir -p /var/run/xrdp
$ADDUSER --system --disabled-password --disabled-login --home /var/run/xrdp \
--no-create-home --quiet --group $XRDP
-$CHOWN -R $XRDP:$XRDP /etc/xrdp
-touch /var/log/sesman.log
-$CHOWN -R $XRDP:$XRDP /var/log/sesman.log
+touch $SESMANLOG
+$CHOWN $XRDP:$XRDP $SESMANLOG
#DEBHELPER#
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-edu/pkg-team/xrdp.git
More information about the debian-edu-commits
mailing list