This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch master in repository x2gobroker.
commit 52a8aeef7311e384889d07537183e6b4c8b695a7 Author: Mihai Moldovan <io...@ionic.de> Date: Tue Apr 21 14:44:23 2020 +0200 debian/x2gobroker-ssh.postinst: only reload nscd configuration if daemon is installed and actually running. Fixes: #1458. Based on a patch by Stefan Baur. --- debian/changelog | 3 +++ debian/x2gobroker-ssh.postinst | 4 +++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 85985e9..1d07af6 100644 --- a/debian/changelog +++ b/debian/changelog @@ -13,6 +13,9 @@ x2gobroker (0.0.4.2-0x2go1) UNRELEASED; urgency=medium * New upstream version (0.0.4.2): * debian/control: + Add psproc dependency to x2gobroker-ssh. We'll need it later on. + * debian/x2gobroker-ssh.postinst: + + Only reload nscd configuration if daemon is installed and actually + running. Fixes: #1458. Based on a patch by Stefan Baur. -- X2Go Release Manager <git-ad...@x2go.org> Mon, 22 Apr 2019 12:31:49 +0200 diff --git a/debian/x2gobroker-ssh.postinst b/debian/x2gobroker-ssh.postinst index 3467bc3..ce94e8f 100755 --- a/debian/x2gobroker-ssh.postinst +++ b/debian/x2gobroker-ssh.postinst @@ -67,7 +67,9 @@ case "$1" in # invalidate group cache before proceeding... if which nscd 1>/dev/null; then - nscd -i group + ps -C nscd 1>/dev/null; then + nscd -i group + fi fi else -- Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/x2gobroker.git _______________________________________________ x2go-commits mailing list x2go-commits@lists.x2go.org https://lists.x2go.org/listinfo/x2go-commits