X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?p=postfix-cn.git;a=blobdiff_plain;f=make-aliases-gecos.sh;h=f831cf4c9e740347346279f8a511a0fe40241fa5;hp=b26364c25aa5a743b3097fa9d469141a80f0bb9e;hb=7cd919bade9722ad8394be41fe3f106f4e7b193f;hpb=97529caed5792c0bf6950e589cf899fdeab4d954 diff --git a/make-aliases-gecos.sh b/make-aliases-gecos.sh index b26364c..f831cf4 100755 --- a/make-aliases-gecos.sh +++ b/make-aliases-gecos.sh @@ -2,9 +2,6 @@ set -e -# ovo se moze otkomentirati, ako se ne zele poruke o duplim GECOS aliasima -#PA_OPTIONS="-r" - PATH=/sbin:/usr/sbin:/bin:/usr/bin:$PATH [ -x /usr/sbin/postalias ] || exit 0 @@ -29,7 +26,7 @@ getent passwd | awk -F: ' if ! cmp -s $gecos.dpkg-tmp.$$ $gecos > /dev/null; then cp_mv $gecos.dpkg-tmp.$$ $gecos - postalias $PA_OPTIONS hash:$gecos + postalias hash:$gecos else rm -f $gecos.dpkg-tmp.$$ fi