diff options
author | Andrey A. Chernov <ache@FreeBSD.org> | 2001-12-07 23:23:01 +0000 |
---|---|---|
committer | Andrey A. Chernov <ache@FreeBSD.org> | 2001-12-07 23:23:01 +0000 |
commit | 435db652f745eabeeb34c934c87718868bc39c8c (patch) | |
tree | 258e3aa614102cb34c8f94c2279eed068a03f811 /databases | |
parent | Suggest a command to delete user instead of actually deleting it (diff) |
Suggest user deleting command instead of using it automatically
Notes
Notes:
svn path=/head/; revision=51197
Diffstat (limited to 'databases')
-rw-r--r-- | databases/msql/Makefile | 1 | ||||
-rw-r--r-- | databases/msql/pkg-deinstall | 7 | ||||
-rw-r--r-- | databases/msql3/Makefile | 1 | ||||
-rw-r--r-- | databases/msql3/pkg-deinstall | 7 |
4 files changed, 4 insertions, 12 deletions
diff --git a/databases/msql/Makefile b/databases/msql/Makefile index 1530397c4540..783b1d5fa8a4 100644 --- a/databases/msql/Makefile +++ b/databases/msql/Makefile @@ -7,6 +7,7 @@ PORTNAME= msql PORTVERSION= 2.0.12 +PORTREVISION= 1 CATEGORIES= databases MAINTAINER= ports@FreeBSD.org diff --git a/databases/msql/pkg-deinstall b/databases/msql/pkg-deinstall index 964422e53c10..8275facaa13f 100644 --- a/databases/msql/pkg-deinstall +++ b/databases/msql/pkg-deinstall @@ -9,12 +9,7 @@ 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 + echo "To delete MSQL user permanently, use 'pw userdel ${USER}'" fi exit 0 diff --git a/databases/msql3/Makefile b/databases/msql3/Makefile index 1530397c4540..783b1d5fa8a4 100644 --- a/databases/msql3/Makefile +++ b/databases/msql3/Makefile @@ -7,6 +7,7 @@ PORTNAME= msql PORTVERSION= 2.0.12 +PORTREVISION= 1 CATEGORIES= databases MAINTAINER= ports@FreeBSD.org diff --git a/databases/msql3/pkg-deinstall b/databases/msql3/pkg-deinstall index 964422e53c10..8275facaa13f 100644 --- a/databases/msql3/pkg-deinstall +++ b/databases/msql3/pkg-deinstall @@ -9,12 +9,7 @@ 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 + echo "To delete MSQL user permanently, use 'pw userdel ${USER}'" fi exit 0 |