diff options
author | ume <ume@FreeBSD.org> | 2004-03-30 23:28:07 +0800 |
---|---|---|
committer | ume <ume@FreeBSD.org> | 2004-03-30 23:28:07 +0800 |
commit | ad029f6b24908bc1a6ce2763b1e38e85778cb2d3 (patch) | |
tree | 85206de3eea00e5fad8ca0d8020ff5e1318dec81 /mail/cyrus-imapd22/pkg-deinstall | |
parent | afe3b08abb592713974d1a3c4ecdab4f3c38538c (diff) | |
download | freebsd-ports-gnome-ad029f6b24908bc1a6ce2763b1e38e85778cb2d3.tar.gz freebsd-ports-gnome-ad029f6b24908bc1a6ce2763b1e38e85778cb2d3.tar.zst freebsd-ports-gnome-ad029f6b24908bc1a6ce2763b1e38e85778cb2d3.zip |
cosmetic changes.
Diffstat (limited to 'mail/cyrus-imapd22/pkg-deinstall')
-rw-r--r-- | mail/cyrus-imapd22/pkg-deinstall | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/mail/cyrus-imapd22/pkg-deinstall b/mail/cyrus-imapd22/pkg-deinstall index aed34d1fec6e..8bb9e0f75812 100644 --- a/mail/cyrus-imapd22/pkg-deinstall +++ b/mail/cyrus-imapd22/pkg-deinstall @@ -13,16 +13,16 @@ PKG_PREFIX=${PKG_PREFIX:=/usr/local} CYRUS_USER=${CYRUS_USER:=%%CYRUS_USER%%} checkfile() { - diff -bBqw $1 $1.dist >/dev/null 2>&1 - case $? in - 0) # config file exists, but is the same + diff -bBqw $1 $1.dist >/dev/null 2>&1 + case $? in + 0) # config file exists, but is the same rm $1 - ;; - 1) # config file exists and differs - ;; - *) # no config file exists - ;; - esac + ;; + 1) # config file exists and differs + ;; + *) # no config file exists + ;; + esac } # @@ -39,7 +39,7 @@ modify_cyrus_user() { fi uhome=/nonexistent - if ! ${PW} mod user ${USER} -d "${uhome}" -s "${shell}" \ ; then + if ! ${PW} mod user ${USER} -d "${uhome}" -s "${shell}"; then e=$? echo "*** Failed to update user \`${USER}'." exit ${e} |