[X2Go-Commits] [x2gobroker] 01/01: debian/x2gobroker-ssh.postinst: fix nscd runtime detection.

git-admin at x2go.org git-admin at x2go.org
Sun Apr 26 14:44:47 CEST 2020


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch master
in repository x2gobroker.

commit e0a60e22a96aa6d121e5d8c39d9f418bae1cabc5
Author: Mihai Moldovan <ionic at ionic.de>
Date:   Sun Apr 26 14:44:18 2020 +0200

    debian/x2gobroker-ssh.postinst: fix nscd runtime detection.
---
 debian/changelog               | 5 ++++-
 debian/x2gobroker-ssh.postinst | 2 +-
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 2a712c1..ee0a8b0 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,9 @@
 x2gobroker (0.0.4.3-0x2go1) UNRELEASED; urgency=medium
 
-  * Continue development
+  [ Mihai Moldovan ]
+  * New upstream version (0.0.4.3):
+  * debian/x2gobroker-ssh.postinst:
+    + Fix nscd runtime detection.
 
  -- X2Go Release Manager <git-admin at x2go.org>  Sat, 25 Apr 2020 03:56:40 +0200
 
diff --git a/debian/x2gobroker-ssh.postinst b/debian/x2gobroker-ssh.postinst
index ce94e8f..8467242 100755
--- a/debian/x2gobroker-ssh.postinst
+++ b/debian/x2gobroker-ssh.postinst
@@ -67,7 +67,7 @@ case "$1" in
 
 					# invalidate group cache before proceeding...
 					if which nscd 1>/dev/null; then
-						ps -C nscd 1>/dev/null; then
+						if ps -C nscd 1>/dev/null; then
 							nscd -i group
 						fi
 					fi

--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/x2gobroker.git


More information about the x2go-commits mailing list