diff options
author | ache <ache@FreeBSD.org> | 2001-12-08 07:12:32 +0800 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 2001-12-08 07:12:32 +0800 |
commit | bffc285f9fe9c0a6ed5751f903c612bd86f6297b (patch) | |
tree | e2dcb917d65823e7e71f369a6cba9388a05987fa /www/apache22 | |
parent | 3dd5864fbd7614a5d99ece9d4ab896e91e96a7e1 (diff) | |
download | freebsd-ports-gnome-bffc285f9fe9c0a6ed5751f903c612bd86f6297b.tar.gz freebsd-ports-gnome-bffc285f9fe9c0a6ed5751f903c612bd86f6297b.tar.zst freebsd-ports-gnome-bffc285f9fe9c0a6ed5751f903c612bd86f6297b.zip |
Suggest a command to delete user instead of actually deleting it
PR: 32536
Diffstat (limited to 'www/apache22')
-rw-r--r-- | www/apache22/Makefile | 2 | ||||
-rw-r--r-- | www/apache22/pkg-deinstall | 11 |
2 files changed, 4 insertions, 9 deletions
diff --git a/www/apache22/Makefile b/www/apache22/Makefile index 907bf66bdf01..f9eab5fbd9cc 100644 --- a/www/apache22/Makefile +++ b/www/apache22/Makefile @@ -7,7 +7,7 @@ PORTNAME= apache PORTVERSION= 2.0.28 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= www ipv6 MASTER_SITES= http://www.apache.org/dist/httpd/ \ http://apache.mirrorcentral.com/dist/httpd/ \ diff --git a/www/apache22/pkg-deinstall b/www/apache22/pkg-deinstall index b50a243a2f57..424c820da458 100644 --- a/www/apache22/pkg-deinstall +++ b/www/apache22/pkg-deinstall @@ -1,20 +1,15 @@ #!/bin/sh -# $FreeBSD: /tmp/pcvs/ports/www/apache22/Attic/pkg-deinstall,v 1.3 2001-10-29 20:05:37 ache Exp $ +# $FreeBSD: /tmp/pcvs/ports/www/apache22/Attic/pkg-deinstall,v 1.4 2001-12-07 23:12:32 ache Exp $ # if [ "$2" != "POST-DEINSTALL" ]; then - exit 0 + exit 0 fi USER=www if pw usershow "${USER}" 2>/dev/null 1>&2; then - if pw userdel ${USER}; then - echo "Delete user/group \"${USER}\"." - else - echo "Deleting user/group \"${USER}\" failed..." - exit 1 - fi + echo "To delete Apache user permanently, use 'pw userdel ${USER}'" fi exit 0 |