diff options
author | ache <ache@FreeBSD.org> | 2001-12-08 07:23:01 +0800 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 2001-12-08 07:23:01 +0800 |
commit | 0085f36568c92d73b969e485fe4d577ec42bec70 (patch) | |
tree | 9a7b389153896c9f39cd54cb4abc81e0fde4bda3 /security/drweb/pkg-deinstall | |
parent | bffc285f9fe9c0a6ed5751f903c612bd86f6297b (diff) | |
download | freebsd-ports-gnome-0085f36568c92d73b969e485fe4d577ec42bec70.tar.gz freebsd-ports-gnome-0085f36568c92d73b969e485fe4d577ec42bec70.tar.zst freebsd-ports-gnome-0085f36568c92d73b969e485fe4d577ec42bec70.zip |
Suggest user deleting command instead of using it automatically
Diffstat (limited to 'security/drweb/pkg-deinstall')
-rw-r--r-- | security/drweb/pkg-deinstall | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/security/drweb/pkg-deinstall b/security/drweb/pkg-deinstall index fe71e9e62b5e..14f338e08d64 100644 --- a/security/drweb/pkg-deinstall +++ b/security/drweb/pkg-deinstall @@ -7,16 +7,9 @@ if [ "$2" != "POST-DEINSTALL" ]; then fi USER=drweb -ex=0 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..." - ex=1 - fi + echo "To delete DrWeb user permanently, use 'pw userdel ${USER}'" fi -[ "$ex" = "1" ] && exit 1 exit 0 |