summaryrefslogtreecommitdiff
path: root/mail/sendmail812
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2001-10-09 19:20:15 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2001-10-09 19:20:15 +0000
commitd8ec51ebaaaa4f856b8f1a9817fecf8deac10142 (patch)
tree9ecb29701493e50926494ea8592db4958dba1b45 /mail/sendmail812
parentUpdate to 0.32. (diff)
Remove user only if uid matches, so a user in the bas system won't be deleted.
Remove double deletion of docdir.
Notes
Notes: svn path=/head/; revision=48617
Diffstat (limited to 'mail/sendmail812')
-rw-r--r--mail/sendmail812/pkg-plist5
1 files changed, 2 insertions, 3 deletions
diff --git a/mail/sendmail812/pkg-plist b/mail/sendmail812/pkg-plist
index b49c91734b04..804789861590 100644
--- a/mail/sendmail812/pkg-plist
+++ b/mail/sendmail812/pkg-plist
@@ -1,10 +1,10 @@
-@comment $FreeBSD: /tmp/pcvs/ports/mail/sendmail812/Attic/pkg-plist,v 1.6 2001-10-07 06:51:44 dinoex Exp $
+@comment $FreeBSD: /tmp/pcvs/ports/mail/sendmail812/Attic/pkg-plist,v 1.7 2001-10-09 19:20:15 dinoex Exp $
@exec if ! pw groupshow smmsp 2>/dev/null; then pw groupadd smmsp -g 90; fi
@exec if ! pw usershow smmsp 2>/dev/null; then pw useradd smmsp -g smmsp -u 90 -h - -d /nonexistent -s /nonexistent -c "Sendmail Queue"; fi
@exec mkdir -p /var/spool/clientmqueue
@exec chown smmsp:smmsp /var/spool/clientmqueue
@exec chmod 770 /var/spool/clientmqueue
-@unexec pw userdel smmsp
+@unexec if pw usershow smmsp | grep -q 90:90; then pw userdel smmsp; fi
@comment (removed by userdel) pw groupdel smmsp
bin/hoststat
bin/mailq
@@ -26,4 +26,3 @@ sbin/sendmail
%%PORTDOCS%%share/doc/sendmail/SENDMAIL
%%PORTDOCS%%share/doc/sendmail/MAIL.LOCAL
%%PORTDOCS%%share/doc/sendmail/SMRSH
-%%PORTDOCS%%@dirrm share/doc/sendmail