[debian-edu-commits] debian-edu/pkg-team/ 06/07: debian/gosa.post*: Define $PATH in scripts to make sure, the which command used in these scripts works as expected.

Mike Gabriel sunweaver at debian.org
Fri Feb 12 10:12:51 UTC 2016


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

sunweaver pushed a commit to branch master
in repository gosa.

commit d3f0cad9684a7bb6c8617374d23206f590454686
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Fri Feb 12 10:25:50 2016 +0100

    debian/gosa.post*: Define $PATH in scripts to make sure, the which command used in these scripts works as expected.
---
 debian/gosa.postinst | 3 +++
 debian/gosa.postrm   | 3 +++
 2 files changed, 6 insertions(+)

diff --git a/debian/gosa.postinst b/debian/gosa.postinst
index 0f5fa0f..35c970b 100755
--- a/debian/gosa.postinst
+++ b/debian/gosa.postinst
@@ -5,6 +5,9 @@
 
 set -e
 
+PATH="/usr/bin:/usr/sbin:/bin:/sbin"
+export PATH
+
 case "$1" in
 	configure)
 	;;
diff --git a/debian/gosa.postrm b/debian/gosa.postrm
index 07d1677..ed0e4d3 100755
--- a/debian/gosa.postrm
+++ b/debian/gosa.postrm
@@ -4,6 +4,9 @@
 
 set -e
 
+PATH="/usr/bin:/usr/sbin:/bin:/sbin"
+export PATH
+
 case "$1" in
 	purge)
 		if [ -d /var/spool/gosa ] ; then

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-edu/pkg-team/gosa.git



More information about the debian-edu-commits mailing list