summaryrefslogtreecommitdiffstats
path: root/mail/cyrus-imapd22/pkg-install
diff options
context:
space:
mode:
Diffstat (limited to 'mail/cyrus-imapd22/pkg-install')
-rw-r--r--mail/cyrus-imapd22/pkg-install4
1 files changed, 3 insertions, 1 deletions
diff --git a/mail/cyrus-imapd22/pkg-install b/mail/cyrus-imapd22/pkg-install
index 20f1fbb..21e473b 100644
--- a/mail/cyrus-imapd22/pkg-install
+++ b/mail/cyrus-imapd22/pkg-install
@@ -6,12 +6,14 @@ PKG_BATCH=${BATCH:=NO}
PKG_PREFIX=${PKG_PREFIX:=/usr/local}
+CYRUS_USER=${CYRUS_USER:=%%CYRUS_USER%%}
+
#
# Modify the 'cyrus' user created from the cyrus-sasl port
#
modify_cyrus_user() {
- USER=cyrus
+ USER=${CYRUS_USER}
PW=/usr/sbin/pw
shell=/bin/csh
uhome=${PKG_PREFIX}/cyrus
OpenPOWER on IntegriCloud