[Pkg-sympa-commits] [sympa] 01/02: Use full path for head command in Sympa configuration file (#863701).

Stefan Hornburg (Racke) racke at linuxia.de
Sun Jul 16 19:52:19 UTC 2017


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

racke pushed a commit to branch master
in repository sympa.

commit fb34269c594e225d04fa23e1de66d8e4382da09b
Author: Stefan Hornburg (Racke) <racke at linuxia.de>
Date:   Sat Jul 15 18:31:44 2017 +0200

    Use full path for head command in Sympa configuration file (#863701).
---
 debian/sympa.postinst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/sympa.postinst b/debian/sympa.postinst
index f1d4d45..fa1618d 100644
--- a/debian/sympa.postinst
+++ b/debian/sympa.postinst
@@ -158,7 +158,7 @@ if [ ! -e /etc/sympa/cookies.history ]; then
     chmod 0660 /etc/sympa/cookies.history
 fi
 
-sympa_config_update "cookie" "\`head -n1 /etc/sympa/cookie\`"
+sympa_config_update "cookie" "\`/usr/bin/head -n1 /etc/sympa/cookie\`"
 
 ## Look for bad path in aliases file (why the hell did they move the files ?)
 if grep -q "/usr/lib/sympa/queue" /etc/aliases ; then

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/collab-maint/sympa.git



More information about the Pkg-sympa-commits mailing list