summaryrefslogtreecommitdiffstats
path: root/mail/cyrus-imapd23/pkg-deinstall
diff options
context:
space:
mode:
Diffstat (limited to 'mail/cyrus-imapd23/pkg-deinstall')
-rw-r--r--mail/cyrus-imapd23/pkg-deinstall4
1 files changed, 3 insertions, 1 deletions
diff --git a/mail/cyrus-imapd23/pkg-deinstall b/mail/cyrus-imapd23/pkg-deinstall
index b2e3eb6..482b69d 100644
--- a/mail/cyrus-imapd23/pkg-deinstall
+++ b/mail/cyrus-imapd23/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
OpenPOWER on IntegriCloud