summaryrefslogtreecommitdiff
path: root/mail/exim-old
diff options
context:
space:
mode:
authorSheldon Hearn <sheldonh@FreeBSD.org>2001-12-18 21:08:44 +0000
committerSheldon Hearn <sheldonh@FreeBSD.org>2001-12-18 21:08:44 +0000
commitfb48c356b3703d7c15f71165991f9f959e8bee3c (patch)
treeb8f6aa8b3fc86e50aeb42b2b6542579ac87dbbac /mail/exim-old
parentUpdate to 1.7 (diff)
Search for the mailnull user quietly (grep -q).
Notes
Notes: svn path=/head/; revision=51755
Diffstat (limited to 'mail/exim-old')
-rw-r--r--mail/exim-old/pkg-install4
1 files changed, 2 insertions, 2 deletions
diff --git a/mail/exim-old/pkg-install b/mail/exim-old/pkg-install
index 3a1673907c5c..69539a8c560f 100644
--- a/mail/exim-old/pkg-install
+++ b/mail/exim-old/pkg-install
@@ -20,11 +20,11 @@ group=mail
if [ "$2" = "PRE-INSTALL" ]; then
# uid=26(mailnull) gid=26(mailnull) groups=26(mailnull)
- if ! /usr/bin/id ${uid} | /usr/bin/grep "uid=${uid}(${user})"; then
+ if ! /usr/bin/id ${uid} | /usr/bin/grep -q "uid=${uid}(${user})"; then
echo "Exim requires user ${user} (UID ${uid}). Please update your system." 1>&2
exit 1
fi
- if ! /usr/bin/grep "^${group}:[^:]*:${gid}:" < /etc/group; then
+ if ! /usr/bin/grep -q "^${group}:[^:]*:${gid}:" < /etc/group; then
echo "Exim requires group ${group} (GID ${gid}). Please update your system." 1>&2
exit 1
fi