diff options
author | ache <ache@FreeBSD.org> | 2001-10-21 18:41:45 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 2001-10-21 18:41:45 +0000 |
commit | 6d9b61cc004d1de360762b5f2b5481dd1df36712 (patch) | |
tree | e8d6d29ad79cc5e9155e293b1cd97ef9ed300849 /databases/msql/pkg-deinstall | |
parent | ec0ea348ed1b7877e9c613727eda352476cc89ff (diff) | |
download | FreeBSD-ports-6d9b61cc004d1de360762b5f2b5481dd1df36712.zip FreeBSD-ports-6d9b61cc004d1de360762b5f2b5481dd1df36712.tar.gz |
Upgrade to 2.0.12
Diffstat (limited to 'databases/msql/pkg-deinstall')
-rw-r--r-- | databases/msql/pkg-deinstall | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/databases/msql/pkg-deinstall b/databases/msql/pkg-deinstall new file mode 100644 index 0000000..964422e --- /dev/null +++ b/databases/msql/pkg-deinstall @@ -0,0 +1,20 @@ +#!/bin/sh +# $FreeBSD$ +# + +if [ "$2" != "POST-DEINSTALL" ]; then + exit 0 +fi + +USER=msql + +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 +fi + +exit 0 |