aboutsummaryrefslogtreecommitdiff
path: root/mail/pop3vscan/pkg-install
diff options
context:
space:
mode:
authorYen-Ming Lee <leeym@FreeBSD.org>2004-02-07 16:40:54 +0000
committerYen-Ming Lee <leeym@FreeBSD.org>2004-02-07 16:40:54 +0000
commit23a4d970cb2313b584b0ada3f382e5e454b11651 (patch)
treea8fbffb936d84e97d85057e575841a1309cfe66e /mail/pop3vscan/pkg-install
parent9ad2b45ab89dd301c91a47ce2930ce33ac583d10 (diff)
Notes
Diffstat (limited to 'mail/pop3vscan/pkg-install')
-rw-r--r--mail/pop3vscan/pkg-install4
1 files changed, 2 insertions, 2 deletions
diff --git a/mail/pop3vscan/pkg-install b/mail/pop3vscan/pkg-install
index b478c2a8b668..696771306193 100644
--- a/mail/pop3vscan/pkg-install
+++ b/mail/pop3vscan/pkg-install
@@ -48,7 +48,7 @@ make_account() {
echo "Done."
else
echo "Please create it, and try again."
- if ! grep -q "^${u}:" /etc/passwd; then
+ if ! grep -q "^${u}:" ${PASSWD}; then
echo "While you're at it, please create a user \"${u}\" too,"
echo "with a default group of \"${g}\"."
fi
@@ -62,7 +62,7 @@ make_account() {
echo "You need a user \"${u}\"."
if which -s pw && yesno "Would you like me to create it" y; then
pw useradd ${u} -g ${g} -h - ${homeopt} \
- -s /nonexistent -c "${gcos}" || exit
+ -s ${NONEXISTENT} -c "${gcos}" || exit
echo "Done."
else
echo "Please create it, and try again."