From d4a07bf33efbef9413ec8c63be4256fd294df1a9 Mon Sep 17 00:00:00 2001 From: Alan Hicks Date: Tue, 11 May 2010 22:25:39 +0200 Subject: network/postfix: Updated for version 2.5.5 --- network/postfix/doinst.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'network/postfix/doinst.sh') diff --git a/network/postfix/doinst.sh b/network/postfix/doinst.sh index b1b16d9f02..5a4c96e902 100644 --- a/network/postfix/doinst.sh +++ b/network/postfix/doinst.sh @@ -2,11 +2,11 @@ config() { NEW="$1" - OLD="`dirname $NEW`/`basename $NEW .new`" + OLD="$(dirname $NEW)/$(basename $NEW .new)" # If there's no config file by that name, mv it over: if [ ! -r $OLD ]; then mv $NEW $OLD - elif [ "`cat $OLD | md5sum`" = "`cat $NEW | md5sum`" ]; then # toss the redundant copy + elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then # toss the redundant copy rm $NEW fi # Otherwise, we leave the .new copy for the admin to consider... @@ -33,3 +33,6 @@ config etc/rc.d/rc.postfix.new # This will set the permissions on all postfix files correctly postfix set-permissions + +# Symlinks added by makepkg(8) + -- cgit v1.2.3