diff options
author | ume <ume@FreeBSD.org> | 2003-01-30 22:04:02 +0800 |
---|---|---|
committer | ume <ume@FreeBSD.org> | 2003-01-30 22:04:02 +0800 |
commit | 1ee12b52dbeca25c802a997cd6de226cca1b0d3c (patch) | |
tree | f66052896ca9dbacd93962e3e6a9d3924dd2e3a5 /mail/cyrus-imapd2/pkg-deinstall | |
parent | 0f27788e08d15ce592702005b41df83d23cd09fc (diff) | |
download | freebsd-ports-gnome-1ee12b52dbeca25c802a997cd6de226cca1b0d3c.tar.gz freebsd-ports-gnome-1ee12b52dbeca25c802a997cd6de226cca1b0d3c.tar.zst freebsd-ports-gnome-1ee12b52dbeca25c802a997cd6de226cca1b0d3c.zip |
Add CYRUS_USER and CYRUS_GROUP options to be able to configure
psuedo user for cyrus.
Requested by: Cyrus Anderson Yunker <cayunker@unity.ncsu.edu>
Diffstat (limited to 'mail/cyrus-imapd2/pkg-deinstall')
-rw-r--r-- | mail/cyrus-imapd2/pkg-deinstall | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mail/cyrus-imapd2/pkg-deinstall b/mail/cyrus-imapd2/pkg-deinstall index b2e3eb678c15..482b69d2f5c8 100644 --- a/mail/cyrus-imapd2/pkg-deinstall +++ b/mail/cyrus-imapd2/pkg-deinstall @@ -10,6 +10,8 @@ PKG_BATCH=${BATCH:=NO} PKG_PREFIX=${PKG_PREFIX:=/usr/local} +CYRUS_USER=${CYRUS_USER:=%%CYRUS_USER%%} + checkfile() { diff -bBqw $1 $1.dist >/dev/null 2>&1 case $? in @@ -40,7 +42,7 @@ cyrus_conf() { # modify_cyrus_user() { - USER=cyrus + USER=${CYRUS_USER} PW=/usr/sbin/pw if [ -x /sbin/nologin ]; then shell=/sbin/nologin |