summaryrefslogtreecommitdiffstats
path: root/mail/sendmail812
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2001-10-09 19:20:15 +0000
committerdinoex <dinoex@FreeBSD.org>2001-10-09 19:20:15 +0000
commit0be6599b6f01889feb0f445c94d9230ac20d5437 (patch)
treead3a192460f85c5fbde32a7d9d0d7dd7664e2243 /mail/sendmail812
parent34f765174dd5c96027d637ead6e81f5b0bd86937 (diff)
downloadFreeBSD-ports-0be6599b6f01889feb0f445c94d9230ac20d5437.zip
FreeBSD-ports-0be6599b6f01889feb0f445c94d9230ac20d5437.tar.gz
Remove user only if uid matches, so a user in the bas system won't be deleted.
Remove double deletion of docdir.
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 b49c917..8047898 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
OpenPOWER on IntegriCloud