diff options
author | Hajimu UMEMOTO <ume@FreeBSD.org> | 2004-07-28 10:45:19 +0000 |
---|---|---|
committer | Hajimu UMEMOTO <ume@FreeBSD.org> | 2004-07-28 10:45:19 +0000 |
commit | fad33c4f8792768c64f54a4884559b01678adf66 (patch) | |
tree | edd4b1e8fa247b1a4707a52186aac618fb5ef520 /mail/cyrus-imapd | |
parent | e82e6ebe3fea14dd7bd2f7dca0e02664365c5d0a (diff) | |
download | ports-fad33c4f8792768c64f54a4884559b01678adf66.tar.gz ports-fad33c4f8792768c64f54a4884559b01678adf66.zip |
Notes
Diffstat (limited to 'mail/cyrus-imapd')
-rw-r--r-- | mail/cyrus-imapd/pkg-deinstall | 5 | ||||
-rw-r--r-- | mail/cyrus-imapd/pkg-install | 7 |
2 files changed, 5 insertions, 7 deletions
diff --git a/mail/cyrus-imapd/pkg-deinstall b/mail/cyrus-imapd/pkg-deinstall index 9604f2773537..308f2d5e49a3 100644 --- a/mail/cyrus-imapd/pkg-deinstall +++ b/mail/cyrus-imapd/pkg-deinstall @@ -52,11 +52,10 @@ modify_cyrus_user() { uhome=/nonexistent if ! ${PW} mod user ${USER} -d "${uhome}" -s "${shell}"; then - e=$? echo "*** Failed to update user \`${USER}'." - exit ${e} + else + echo "*** Updated user \`${USER}'." fi - echo "*** Updated user \`${USER}'." } case $2 in diff --git a/mail/cyrus-imapd/pkg-install b/mail/cyrus-imapd/pkg-install index 9578149d63a6..65cc1470e3d1 100644 --- a/mail/cyrus-imapd/pkg-install +++ b/mail/cyrus-imapd/pkg-install @@ -17,11 +17,10 @@ modify_cyrus_user() { uhome=${PKG_PREFIX}/cyrus if ! ${PW} mod user ${USER} -d "${uhome}" -s "${shell}"; then - e=$? - echo "*** Failed to update user \`${USER}'." - exit ${e} + echo "*** Failed to update user \`${USER}'." + else + echo "*** Updated user \`${USER}'." fi - echo "*** Updated user \`${USER}'." } |