diff options
author | ume <ume@FreeBSD.org> | 2004-03-30 23:33:55 +0800 |
---|---|---|
committer | ume <ume@FreeBSD.org> | 2004-03-30 23:33:55 +0800 |
commit | e208b0ce629a28619d77424e3b8c77274867b3ee (patch) | |
tree | c12de39fc36de79258c32cec19fb5e116e6758fd /security/cyrus-sasl2 | |
parent | ad029f6b24908bc1a6ce2763b1e38e85778cb2d3 (diff) | |
download | freebsd-ports-gnome-e208b0ce629a28619d77424e3b8c77274867b3ee.tar.gz freebsd-ports-gnome-e208b0ce629a28619d77424e3b8c77274867b3ee.tar.zst freebsd-ports-gnome-e208b0ce629a28619d77424e3b8c77274867b3ee.zip |
When there is user cyrus, don't overwrite the user. It helps
updating cyrus-sasl2 without updating cyrus-imapd*.
Diffstat (limited to 'security/cyrus-sasl2')
-rw-r--r-- | security/cyrus-sasl2/pkg-install | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/security/cyrus-sasl2/pkg-install b/security/cyrus-sasl2/pkg-install index 0416dd08b99a..939107967172 100644 --- a/security/cyrus-sasl2/pkg-install +++ b/security/cyrus-sasl2/pkg-install @@ -61,9 +61,7 @@ create_user() { fi echo "*** Added user \`${USER}' (id ${uid})" else - if ! ${PW} mod user ${USER} -g ${gid} -d "${uhome}" \ - -c "the cyrus mail server" -s "${shell}" -p "*" \ - ; then + if ! ${PW} mod user ${USER} -g ${gid}; then e=$? echo "*** Failed to update user \`${USER}'." exit ${e} |