From f84889d6f84c1a15e914f40cbb8298b81742ccc3 Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Thu, 28 Feb 2008 19:02:08 +0000 Subject: Fix running shell commands collected in COMMANDS file. --- postfix/postfix.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'postfix') diff --git a/postfix/postfix.sh b/postfix/postfix.sh index e288f32..61f0b67 100755 --- a/postfix/postfix.sh +++ b/postfix/postfix.sh @@ -3,7 +3,7 @@ # /etc/local-COMMON/postfix/postfix.sh # Copyright 2002-2007 Jonas Smedegaard # -# $Id: postfix.sh,v 1.65 2008-02-28 18:54:22 jonas Exp $ +# $Id: postfix.sh,v 1.66 2008-02-28 19:02:08 jonas Exp $ # # Auto-tweak plain installed postfix Debian package # @@ -281,7 +281,7 @@ fi case $do_update in y|Y) if [ -f "$tempdir/COMMANDS" ]; then - sh -c "$tempdir/COMMANDS" + cat "$tempdir/COMMANDS" | sh -r -s fi rm -f "$tempdir/COMMANDS" -- cgit v1.2.3