aboutsummaryrefslogtreecommitdiff
path: root/mail/cyrus-imapd2
diff options
context:
space:
mode:
authorHajimu UMEMOTO <ume@FreeBSD.org>2004-03-31 16:56:31 +0000
committerHajimu UMEMOTO <ume@FreeBSD.org>2004-03-31 16:56:31 +0000
commit026ebc1dee83c42ece2eb7465ef31ba77ccb01b2 (patch)
treeb6873c2b62e41358c323e0502705bccd8080feee /mail/cyrus-imapd2
parentfebfac9141c0c1370f340e5db3e3d2e5fa6a038a (diff)
downloadports-026ebc1dee83c42ece2eb7465ef31ba77ccb01b2.tar.gz
ports-026ebc1dee83c42ece2eb7465ef31ba77ccb01b2.zip
prefer /usr/sbin/nologin than /sbin/nologin when creating user cyrus.
Requested by: nork
Notes
Notes: svn path=/head/; revision=105796
Diffstat (limited to 'mail/cyrus-imapd2')
-rw-r--r--mail/cyrus-imapd2/pkg-deinstall4
1 files changed, 3 insertions, 1 deletions
diff --git a/mail/cyrus-imapd2/pkg-deinstall b/mail/cyrus-imapd2/pkg-deinstall
index 8bb9e0f75812..6baee3e9c8e0 100644
--- a/mail/cyrus-imapd2/pkg-deinstall
+++ b/mail/cyrus-imapd2/pkg-deinstall
@@ -32,7 +32,9 @@ checkfile() {
modify_cyrus_user() {
USER=${CYRUS_USER}
PW=/usr/sbin/pw
- if [ -x /sbin/nologin ]; then
+ if [ -x /usr/sbin/nologin ]; then
+ shell=/usr/sbin/nologin
+ elif [ -x /sbin/nologin ]; then
shell=/sbin/nologin
else
shell=/nonexistent