aboutsummaryrefslogtreecommitdiff
path: root/mail/cyrus-imapd2
diff options
context:
space:
mode:
authorHajimu UMEMOTO <ume@FreeBSD.org>2004-03-30 15:28:07 +0000
committerHajimu UMEMOTO <ume@FreeBSD.org>2004-03-30 15:28:07 +0000
commit9fc0a4b07494c751628c6462d0ecd3f6473ac5a8 (patch)
tree897774f477bdf094f9f679c04f6a9923ae2d8ae5 /mail/cyrus-imapd2
parent7694957199e62dae6c21d8d9e01e31bbd5af52eb (diff)
downloadports-9fc0a4b07494c751628c6462d0ecd3f6473ac5a8.tar.gz
ports-9fc0a4b07494c751628c6462d0ecd3f6473ac5a8.zip
Notes
Diffstat (limited to 'mail/cyrus-imapd2')
-rw-r--r--mail/cyrus-imapd2/pkg-deinstall20
-rw-r--r--mail/cyrus-imapd2/pkg-install6
2 files changed, 13 insertions, 13 deletions
diff --git a/mail/cyrus-imapd2/pkg-deinstall b/mail/cyrus-imapd2/pkg-deinstall
index aed34d1fec6e..8bb9e0f75812 100644
--- a/mail/cyrus-imapd2/pkg-deinstall
+++ b/mail/cyrus-imapd2/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}
diff --git a/mail/cyrus-imapd2/pkg-install b/mail/cyrus-imapd2/pkg-install
index 8bbe09d840f5..a4a1d6837d0a 100644
--- a/mail/cyrus-imapd2/pkg-install
+++ b/mail/cyrus-imapd2/pkg-install
@@ -18,7 +18,7 @@ modify_cyrus_user() {
shell=/bin/csh
uhome=${PKG_PREFIX}/cyrus
- 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}
@@ -33,8 +33,8 @@ checkfile() {
0) # config file exists, but is the same
;;
1) # config file exists and differs
- echo "** Make sure $1 is in sync with this version";
- echo " of the port. See $1.dist for details.";
+ echo "** Make sure $1 is in sync with this version";
+ echo " of the port. See $1.dist for details.";
;;
*) # no config file exists, copy it
install -c -m 644 $1.dist $1