aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorbillf <billf@FreeBSD.org>2000-05-28 14:43:40 +0800
committerbillf <billf@FreeBSD.org>2000-05-28 14:43:40 +0800
commit707fda43750b9ee048989afee173fef11273162a (patch)
tree91a7f884b31454fe508fc28a75f9fa1bad0e6a31 /mail
parentb33034c148a9c61ecf2859bdaeeb769813d048b9 (diff)
downloadfreebsd-ports-gnome-707fda43750b9ee048989afee173fef11273162a.tar.gz
freebsd-ports-gnome-707fda43750b9ee048989afee173fef11273162a.tar.zst
freebsd-ports-gnome-707fda43750b9ee048989afee173fef11273162a.zip
If a user didn't have /usr/sbin in their path, this would have failed.
Diffstat (limited to 'mail')
-rw-r--r--mail/postfix-current/pkg-install12
-rw-r--r--mail/postfix/pkg-install12
-rw-r--r--mail/postfix1/pkg-install12
-rw-r--r--mail/postfix20/pkg-install12
-rw-r--r--mail/postfix21/pkg-install12
-rw-r--r--mail/postfix22/pkg-install12
-rw-r--r--mail/postfix23/pkg-install12
-rw-r--r--mail/postfix24/pkg-install12
-rw-r--r--mail/postfix25/pkg-install12
-rw-r--r--mail/postfix26/pkg-install12
-rw-r--r--mail/postfix27/pkg-install12
-rw-r--r--mail/postfix28/pkg-install12
12 files changed, 72 insertions, 72 deletions
diff --git a/mail/postfix-current/pkg-install b/mail/postfix-current/pkg-install
index 4ed960fb5bdc..dcc7c370d885 100644
--- a/mail/postfix-current/pkg-install
+++ b/mail/postfix-current/pkg-install
@@ -34,12 +34,12 @@ yesno() {
}
if [ x"$2" = xPRE-INSTALL ]; then
- if pw groupshow "${group}" 2>/dev/null; then
+ if /usr/sbin/pw groupshow "${group}" 2>/dev/null; then
echo "You already have a group \"${group}\", so I will use it."
else
echo "You need a group \"${group}\"."
if yesno "Would you like me to create it" y; then
- pw groupadd ${group} -h - || exit
+ /usr/sbin/pw groupadd ${group} -h - || exit
echo "Done."
else
echo "Please create it, and try again."
@@ -47,12 +47,12 @@ if [ x"$2" = xPRE-INSTALL ]; then
fi
fi
- if pw groupshow "${group2}" 2>/dev/null; then
+ if /usr/sbin/pw groupshow "${group2}" 2>/dev/null; then
echo "You already have a group \"${group2}\", so I will use it."
else
echo "You need a group \"${group2}\"."
if yesno "Would you like me to create it" y; then
- pw groupadd ${group2} -h - || exit
+ /usr/sbin/pw groupadd ${group2} -h - || exit
echo "Done."
else
echo "Please create it, and try again."
@@ -60,12 +60,12 @@ if [ x"$2" = xPRE-INSTALL ]; then
fi
fi
- if pw user show "${user}" 2>/dev/null; then
+ if /usr/sbin/pw user show "${user}" 2>/dev/null; then
echo "You already have a user \"${user}\", so I will use it."
else
echo "You need a user \"${user}\"."
if yesno "Would you like me to create it" y; then
- pw useradd ${user} -g ${group} -h - -d /nonexistent \
+ /usr/sbin/pw useradd ${user} -g ${group} -h - -d /nonexistent \
-s /nonexistent -c "Postfix Mail System" || exit
echo "Done."
else
diff --git a/mail/postfix/pkg-install b/mail/postfix/pkg-install
index 4ed960fb5bdc..dcc7c370d885 100644
--- a/mail/postfix/pkg-install
+++ b/mail/postfix/pkg-install
@@ -34,12 +34,12 @@ yesno() {
}
if [ x"$2" = xPRE-INSTALL ]; then
- if pw groupshow "${group}" 2>/dev/null; then
+ if /usr/sbin/pw groupshow "${group}" 2>/dev/null; then
echo "You already have a group \"${group}\", so I will use it."
else
echo "You need a group \"${group}\"."
if yesno "Would you like me to create it" y; then
- pw groupadd ${group} -h - || exit
+ /usr/sbin/pw groupadd ${group} -h - || exit
echo "Done."
else
echo "Please create it, and try again."
@@ -47,12 +47,12 @@ if [ x"$2" = xPRE-INSTALL ]; then
fi
fi
- if pw groupshow "${group2}" 2>/dev/null; then
+ if /usr/sbin/pw groupshow "${group2}" 2>/dev/null; then
echo "You already have a group \"${group2}\", so I will use it."
else
echo "You need a group \"${group2}\"."
if yesno "Would you like me to create it" y; then
- pw groupadd ${group2} -h - || exit
+ /usr/sbin/pw groupadd ${group2} -h - || exit
echo "Done."
else
echo "Please create it, and try again."
@@ -60,12 +60,12 @@ if [ x"$2" = xPRE-INSTALL ]; then
fi
fi
- if pw user show "${user}" 2>/dev/null; then
+ if /usr/sbin/pw user show "${user}" 2>/dev/null; then
echo "You already have a user \"${user}\", so I will use it."
else
echo "You need a user \"${user}\"."
if yesno "Would you like me to create it" y; then
- pw useradd ${user} -g ${group} -h - -d /nonexistent \
+ /usr/sbin/pw useradd ${user} -g ${group} -h - -d /nonexistent \
-s /nonexistent -c "Postfix Mail System" || exit
echo "Done."
else
diff --git a/mail/postfix1/pkg-install b/mail/postfix1/pkg-install
index 4ed960fb5bdc..dcc7c370d885 100644
--- a/mail/postfix1/pkg-install
+++ b/mail/postfix1/pkg-install
@@ -34,12 +34,12 @@ yesno() {
}
if [ x"$2" = xPRE-INSTALL ]; then
- if pw groupshow "${group}" 2>/dev/null; then
+ if /usr/sbin/pw groupshow "${group}" 2>/dev/null; then
echo "You already have a group \"${group}\", so I will use it."
else
echo "You need a group \"${group}\"."
if yesno "Would you like me to create it" y; then
- pw groupadd ${group} -h - || exit
+ /usr/sbin/pw groupadd ${group} -h - || exit
echo "Done."
else
echo "Please create it, and try again."
@@ -47,12 +47,12 @@ if [ x"$2" = xPRE-INSTALL ]; then
fi
fi
- if pw groupshow "${group2}" 2>/dev/null; then
+ if /usr/sbin/pw groupshow "${group2}" 2>/dev/null; then
echo "You already have a group \"${group2}\", so I will use it."
else
echo "You need a group \"${group2}\"."
if yesno "Would you like me to create it" y; then
- pw groupadd ${group2} -h - || exit
+ /usr/sbin/pw groupadd ${group2} -h - || exit
echo "Done."
else
echo "Please create it, and try again."
@@ -60,12 +60,12 @@ if [ x"$2" = xPRE-INSTALL ]; then
fi
fi
- if pw user show "${user}" 2>/dev/null; then
+ if /usr/sbin/pw user show "${user}" 2>/dev/null; then
echo "You already have a user \"${user}\", so I will use it."
else
echo "You need a user \"${user}\"."
if yesno "Would you like me to create it" y; then
- pw useradd ${user} -g ${group} -h - -d /nonexistent \
+ /usr/sbin/pw useradd ${user} -g ${group} -h - -d /nonexistent \
-s /nonexistent -c "Postfix Mail System" || exit
echo "Done."
else
diff --git a/mail/postfix20/pkg-install b/mail/postfix20/pkg-install
index 4ed960fb5bdc..dcc7c370d885 100644
--- a/mail/postfix20/pkg-install
+++ b/mail/postfix20/pkg-install
@@ -34,12 +34,12 @@ yesno() {
}
if [ x"$2" = xPRE-INSTALL ]; then
- if pw groupshow "${group}" 2>/dev/null; then
+ if /usr/sbin/pw groupshow "${group}" 2>/dev/null; then
echo "You already have a group \"${group}\", so I will use it."
else
echo "You need a group \"${group}\"."
if yesno "Would you like me to create it" y; then
- pw groupadd ${group} -h - || exit
+ /usr/sbin/pw groupadd ${group} -h - || exit
echo "Done."
else
echo "Please create it, and try again."
@@ -47,12 +47,12 @@ if [ x"$2" = xPRE-INSTALL ]; then
fi
fi
- if pw groupshow "${group2}" 2>/dev/null; then
+ if /usr/sbin/pw groupshow "${group2}" 2>/dev/null; then
echo "You already have a group \"${group2}\", so I will use it."
else
echo "You need a group \"${group2}\"."
if yesno "Would you like me to create it" y; then
- pw groupadd ${group2} -h - || exit
+ /usr/sbin/pw groupadd ${group2} -h - || exit
echo "Done."
else
echo "Please create it, and try again."
@@ -60,12 +60,12 @@ if [ x"$2" = xPRE-INSTALL ]; then
fi
fi
- if pw user show "${user}" 2>/dev/null; then
+ if /usr/sbin/pw user show "${user}" 2>/dev/null; then
echo "You already have a user \"${user}\", so I will use it."
else
echo "You need a user \"${user}\"."
if yesno "Would you like me to create it" y; then
- pw useradd ${user} -g ${group} -h - -d /nonexistent \
+ /usr/sbin/pw useradd ${user} -g ${group} -h - -d /nonexistent \
-s /nonexistent -c "Postfix Mail System" || exit
echo "Done."
else
diff --git a/mail/postfix21/pkg-install b/mail/postfix21/pkg-install
index 4ed960fb5bdc..dcc7c370d885 100644
--- a/mail/postfix21/pkg-install
+++ b/mail/postfix21/pkg-install
@@ -34,12 +34,12 @@ yesno() {
}
if [ x"$2" = xPRE-INSTALL ]; then
- if pw groupshow "${group}" 2>/dev/null; then
+ if /usr/sbin/pw groupshow "${group}" 2>/dev/null; then
echo "You already have a group \"${group}\", so I will use it."
else
echo "You need a group \"${group}\"."
if yesno "Would you like me to create it" y; then
- pw groupadd ${group} -h - || exit
+ /usr/sbin/pw groupadd ${group} -h - || exit
echo "Done."
else
echo "Please create it, and try again."
@@ -47,12 +47,12 @@ if [ x"$2" = xPRE-INSTALL ]; then
fi
fi
- if pw groupshow "${group2}" 2>/dev/null; then
+ if /usr/sbin/pw groupshow "${group2}" 2>/dev/null; then
echo "You already have a group \"${group2}\", so I will use it."
else
echo "You need a group \"${group2}\"."
if yesno "Would you like me to create it" y; then
- pw groupadd ${group2} -h - || exit
+ /usr/sbin/pw groupadd ${group2} -h - || exit
echo "Done."
else
echo "Please create it, and try again."
@@ -60,12 +60,12 @@ if [ x"$2" = xPRE-INSTALL ]; then
fi
fi
- if pw user show "${user}" 2>/dev/null; then
+ if /usr/sbin/pw user show "${user}" 2>/dev/null; then
echo "You already have a user \"${user}\", so I will use it."
else
echo "You need a user \"${user}\"."
if yesno "Would you like me to create it" y; then
- pw useradd ${user} -g ${group} -h - -d /nonexistent \
+ /usr/sbin/pw useradd ${user} -g ${group} -h - -d /nonexistent \
-s /nonexistent -c "Postfix Mail System" || exit
echo "Done."
else
diff --git a/mail/postfix22/pkg-install b/mail/postfix22/pkg-install
index 4ed960fb5bdc..dcc7c370d885 100644
--- a/mail/postfix22/pkg-install
+++ b/mail/postfix22/pkg-install
@@ -34,12 +34,12 @@ yesno() {
}
if [ x"$2" = xPRE-INSTALL ]; then
- if pw groupshow "${group}" 2>/dev/null; then
+ if /usr/sbin/pw groupshow "${group}" 2>/dev/null; then
echo "You already have a group \"${group}\", so I will use it."
else
echo "You need a group \"${group}\"."
if yesno "Would you like me to create it" y; then
- pw groupadd ${group} -h - || exit
+ /usr/sbin/pw groupadd ${group} -h - || exit
echo "Done."
else
echo "Please create it, and try again."
@@ -47,12 +47,12 @@ if [ x"$2" = xPRE-INSTALL ]; then
fi
fi
- if pw groupshow "${group2}" 2>/dev/null; then
+ if /usr/sbin/pw groupshow "${group2}" 2>/dev/null; then
echo "You already have a group \"${group2}\", so I will use it."
else
echo "You need a group \"${group2}\"."
if yesno "Would you like me to create it" y; then
- pw groupadd ${group2} -h - || exit
+ /usr/sbin/pw groupadd ${group2} -h - || exit
echo "Done."
else
echo "Please create it, and try again."
@@ -60,12 +60,12 @@ if [ x"$2" = xPRE-INSTALL ]; then
fi
fi
- if pw user show "${user}" 2>/dev/null; then
+ if /usr/sbin/pw user show "${user}" 2>/dev/null; then
echo "You already have a user \"${user}\", so I will use it."
else
echo "You need a user \"${user}\"."
if yesno "Would you like me to create it" y; then
- pw useradd ${user} -g ${group} -h - -d /nonexistent \
+ /usr/sbin/pw useradd ${user} -g ${group} -h - -d /nonexistent \
-s /nonexistent -c "Postfix Mail System" || exit
echo "Done."
else
diff --git a/mail/postfix23/pkg-install b/mail/postfix23/pkg-install
index 4ed960fb5bdc..dcc7c370d885 100644
--- a/mail/postfix23/pkg-install
+++ b/mail/postfix23/pkg-install
@@ -34,12 +34,12 @@ yesno() {
}
if [ x"$2" = xPRE-INSTALL ]; then
- if pw groupshow "${group}" 2>/dev/null; then
+ if /usr/sbin/pw groupshow "${group}" 2>/dev/null; then
echo "You already have a group \"${group}\", so I will use it."
else
echo "You need a group \"${group}\"."
if yesno "Would you like me to create it" y; then
- pw groupadd ${group} -h - || exit
+ /usr/sbin/pw groupadd ${group} -h - || exit
echo "Done."
else
echo "Please create it, and try again."
@@ -47,12 +47,12 @@ if [ x"$2" = xPRE-INSTALL ]; then
fi
fi
- if pw groupshow "${group2}" 2>/dev/null; then
+ if /usr/sbin/pw groupshow "${group2}" 2>/dev/null; then
echo "You already have a group \"${group2}\", so I will use it."
else
echo "You need a group \"${group2}\"."
if yesno "Would you like me to create it" y; then
- pw groupadd ${group2} -h - || exit
+ /usr/sbin/pw groupadd ${group2} -h - || exit
echo "Done."
else
echo "Please create it, and try again."
@@ -60,12 +60,12 @@ if [ x"$2" = xPRE-INSTALL ]; then
fi
fi
- if pw user show "${user}" 2>/dev/null; then
+ if /usr/sbin/pw user show "${user}" 2>/dev/null; then
echo "You already have a user \"${user}\", so I will use it."
else
echo "You need a user \"${user}\"."
if yesno "Would you like me to create it" y; then
- pw useradd ${user} -g ${group} -h - -d /nonexistent \
+ /usr/sbin/pw useradd ${user} -g ${group} -h - -d /nonexistent \
-s /nonexistent -c "Postfix Mail System" || exit
echo "Done."
else
diff --git a/mail/postfix24/pkg-install b/mail/postfix24/pkg-install
index 4ed960fb5bdc..dcc7c370d885 100644
--- a/mail/postfix24/pkg-install
+++ b/mail/postfix24/pkg-install
@@ -34,12 +34,12 @@ yesno() {
}
if [ x"$2" = xPRE-INSTALL ]; then
- if pw groupshow "${group}" 2>/dev/null; then
+ if /usr/sbin/pw groupshow "${group}" 2>/dev/null; then
echo "You already have a group \"${group}\", so I will use it."
else
echo "You need a group \"${group}\"."
if yesno "Would you like me to create it" y; then
- pw groupadd ${group} -h - || exit
+ /usr/sbin/pw groupadd ${group} -h - || exit
echo "Done."
else
echo "Please create it, and try again."
@@ -47,12 +47,12 @@ if [ x"$2" = xPRE-INSTALL ]; then
fi
fi
- if pw groupshow "${group2}" 2>/dev/null; then
+ if /usr/sbin/pw groupshow "${group2}" 2>/dev/null; then
echo "You already have a group \"${group2}\", so I will use it."
else
echo "You need a group \"${group2}\"."
if yesno "Would you like me to create it" y; then
- pw groupadd ${group2} -h - || exit
+ /usr/sbin/pw groupadd ${group2} -h - || exit
echo "Done."
else
echo "Please create it, and try again."
@@ -60,12 +60,12 @@ if [ x"$2" = xPRE-INSTALL ]; then
fi
fi
- if pw user show "${user}" 2>/dev/null; then
+ if /usr/sbin/pw user show "${user}" 2>/dev/null; then
echo "You already have a user \"${user}\", so I will use it."
else
echo "You need a user \"${user}\"."
if yesno "Would you like me to create it" y; then
- pw useradd ${user} -g ${group} -h - -d /nonexistent \
+ /usr/sbin/pw useradd ${user} -g ${group} -h - -d /nonexistent \
-s /nonexistent -c "Postfix Mail System" || exit
echo "Done."
else
diff --git a/mail/postfix25/pkg-install b/mail/postfix25/pkg-install
index 4ed960fb5bdc..dcc7c370d885 100644
--- a/mail/postfix25/pkg-install
+++ b/mail/postfix25/pkg-install
@@ -34,12 +34,12 @@ yesno() {
}
if [ x"$2" = xPRE-INSTALL ]; then
- if pw groupshow "${group}" 2>/dev/null; then
+ if /usr/sbin/pw groupshow "${group}" 2>/dev/null; then
echo "You already have a group \"${group}\", so I will use it."
else
echo "You need a group \"${group}\"."
if yesno "Would you like me to create it" y; then
- pw groupadd ${group} -h - || exit
+ /usr/sbin/pw groupadd ${group} -h - || exit
echo "Done."
else
echo "Please create it, and try again."
@@ -47,12 +47,12 @@ if [ x"$2" = xPRE-INSTALL ]; then
fi
fi
- if pw groupshow "${group2}" 2>/dev/null; then
+ if /usr/sbin/pw groupshow "${group2}" 2>/dev/null; then
echo "You already have a group \"${group2}\", so I will use it."
else
echo "You need a group \"${group2}\"."
if yesno "Would you like me to create it" y; then
- pw groupadd ${group2} -h - || exit
+ /usr/sbin/pw groupadd ${group2} -h - || exit
echo "Done."
else
echo "Please create it, and try again."
@@ -60,12 +60,12 @@ if [ x"$2" = xPRE-INSTALL ]; then
fi
fi
- if pw user show "${user}" 2>/dev/null; then
+ if /usr/sbin/pw user show "${user}" 2>/dev/null; then
echo "You already have a user \"${user}\", so I will use it."
else
echo "You need a user \"${user}\"."
if yesno "Would you like me to create it" y; then
- pw useradd ${user} -g ${group} -h - -d /nonexistent \
+ /usr/sbin/pw useradd ${user} -g ${group} -h - -d /nonexistent \
-s /nonexistent -c "Postfix Mail System" || exit
echo "Done."
else
diff --git a/mail/postfix26/pkg-install b/mail/postfix26/pkg-install
index 4ed960fb5bdc..dcc7c370d885 100644
--- a/mail/postfix26/pkg-install
+++ b/mail/postfix26/pkg-install
@@ -34,12 +34,12 @@ yesno() {
}
if [ x"$2" = xPRE-INSTALL ]; then
- if pw groupshow "${group}" 2>/dev/null; then
+ if /usr/sbin/pw groupshow "${group}" 2>/dev/null; then
echo "You already have a group \"${group}\", so I will use it."
else
echo "You need a group \"${group}\"."
if yesno "Would you like me to create it" y; then
- pw groupadd ${group} -h - || exit
+ /usr/sbin/pw groupadd ${group} -h - || exit
echo "Done."
else
echo "Please create it, and try again."
@@ -47,12 +47,12 @@ if [ x"$2" = xPRE-INSTALL ]; then
fi
fi
- if pw groupshow "${group2}" 2>/dev/null; then
+ if /usr/sbin/pw groupshow "${group2}" 2>/dev/null; then
echo "You already have a group \"${group2}\", so I will use it."
else
echo "You need a group \"${group2}\"."
if yesno "Would you like me to create it" y; then
- pw groupadd ${group2} -h - || exit
+ /usr/sbin/pw groupadd ${group2} -h - || exit
echo "Done."
else
echo "Please create it, and try again."
@@ -60,12 +60,12 @@ if [ x"$2" = xPRE-INSTALL ]; then
fi
fi
- if pw user show "${user}" 2>/dev/null; then
+ if /usr/sbin/pw user show "${user}" 2>/dev/null; then
echo "You already have a user \"${user}\", so I will use it."
else
echo "You need a user \"${user}\"."
if yesno "Would you like me to create it" y; then
- pw useradd ${user} -g ${group} -h - -d /nonexistent \
+ /usr/sbin/pw useradd ${user} -g ${group} -h - -d /nonexistent \
-s /nonexistent -c "Postfix Mail System" || exit
echo "Done."
else
diff --git a/mail/postfix27/pkg-install b/mail/postfix27/pkg-install
index 4ed960fb5bdc..dcc7c370d885 100644
--- a/mail/postfix27/pkg-install
+++ b/mail/postfix27/pkg-install
@@ -34,12 +34,12 @@ yesno() {
}
if [ x"$2" = xPRE-INSTALL ]; then
- if pw groupshow "${group}" 2>/dev/null; then
+ if /usr/sbin/pw groupshow "${group}" 2>/dev/null; then
echo "You already have a group \"${group}\", so I will use it."
else
echo "You need a group \"${group}\"."
if yesno "Would you like me to create it" y; then
- pw groupadd ${group} -h - || exit
+ /usr/sbin/pw groupadd ${group} -h - || exit
echo "Done."
else
echo "Please create it, and try again."
@@ -47,12 +47,12 @@ if [ x"$2" = xPRE-INSTALL ]; then
fi
fi
- if pw groupshow "${group2}" 2>/dev/null; then
+ if /usr/sbin/pw groupshow "${group2}" 2>/dev/null; then
echo "You already have a group \"${group2}\", so I will use it."
else
echo "You need a group \"${group2}\"."
if yesno "Would you like me to create it" y; then
- pw groupadd ${group2} -h - || exit
+ /usr/sbin/pw groupadd ${group2} -h - || exit
echo "Done."
else
echo "Please create it, and try again."
@@ -60,12 +60,12 @@ if [ x"$2" = xPRE-INSTALL ]; then
fi
fi
- if pw user show "${user}" 2>/dev/null; then
+ if /usr/sbin/pw user show "${user}" 2>/dev/null; then
echo "You already have a user \"${user}\", so I will use it."
else
echo "You need a user \"${user}\"."
if yesno "Would you like me to create it" y; then
- pw useradd ${user} -g ${group} -h - -d /nonexistent \
+ /usr/sbin/pw useradd ${user} -g ${group} -h - -d /nonexistent \
-s /nonexistent -c "Postfix Mail System" || exit
echo "Done."
else
diff --git a/mail/postfix28/pkg-install b/mail/postfix28/pkg-install
index 4ed960fb5bdc..dcc7c370d885 100644
--- a/mail/postfix28/pkg-install
+++ b/mail/postfix28/pkg-install
@@ -34,12 +34,12 @@ yesno() {
}
if [ x"$2" = xPRE-INSTALL ]; then
- if pw groupshow "${group}" 2>/dev/null; then
+ if /usr/sbin/pw groupshow "${group}" 2>/dev/null; then
echo "You already have a group \"${group}\", so I will use it."
else
echo "You need a group \"${group}\"."
if yesno "Would you like me to create it" y; then
- pw groupadd ${group} -h - || exit
+ /usr/sbin/pw groupadd ${group} -h - || exit
echo "Done."
else
echo "Please create it, and try again."
@@ -47,12 +47,12 @@ if [ x"$2" = xPRE-INSTALL ]; then
fi
fi
- if pw groupshow "${group2}" 2>/dev/null; then
+ if /usr/sbin/pw groupshow "${group2}" 2>/dev/null; then
echo "You already have a group \"${group2}\", so I will use it."
else
echo "You need a group \"${group2}\"."
if yesno "Would you like me to create it" y; then
- pw groupadd ${group2} -h - || exit
+ /usr/sbin/pw groupadd ${group2} -h - || exit
echo "Done."
else
echo "Please create it, and try again."
@@ -60,12 +60,12 @@ if [ x"$2" = xPRE-INSTALL ]; then
fi
fi
- if pw user show "${user}" 2>/dev/null; then
+ if /usr/sbin/pw user show "${user}" 2>/dev/null; then
echo "You already have a user \"${user}\", so I will use it."
else
echo "You need a user \"${user}\"."
if yesno "Would you like me to create it" y; then
- pw useradd ${user} -g ${group} -h - -d /nonexistent \
+ /usr/sbin/pw useradd ${user} -g ${group} -h - -d /nonexistent \
-s /nonexistent -c "Postfix Mail System" || exit
echo "Done."
else