diff options
author | Alan Hicks <alan@lizella.net> | 2010-05-11 22:25:39 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-05-11 22:25:39 +0200 |
commit | d4a07bf33efbef9413ec8c63be4256fd294df1a9 (patch) | |
tree | 407c2921f04c930751e03c0eb1e5db1238e9c144 /network/postfix/doinst.sh | |
parent | 292de0d830cdb755c81e9ce0763f9f50218d2b7e (diff) |
network/postfix: Updated for version 2.5.5
Diffstat (limited to 'network/postfix/doinst.sh')
-rw-r--r-- | network/postfix/doinst.sh | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/network/postfix/doinst.sh b/network/postfix/doinst.sh index b1b16d9f02e64..5a4c96e902777 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) + |