diff options
author | Sergey Matveychuk <sem@FreeBSD.org> | 2009-08-17 13:27:19 +0000 |
---|---|---|
committer | Sergey Matveychuk <sem@FreeBSD.org> | 2009-08-17 13:27:19 +0000 |
commit | e5e208d6d1cc67ddfe738305c5e8d2d99d0af899 (patch) | |
tree | e14bd662c0828564561fcae242b31067fbede13c /dns | |
parent | 26e6464db9eac7030c2d0814cbad36520893c432 (diff) |
Notes
Diffstat (limited to 'dns')
-rw-r--r-- | dns/unbound/files/pkg-deinstall.in | 6 | ||||
-rw-r--r-- | dns/unbound/files/pkg-install.in | 14 |
2 files changed, 3 insertions, 17 deletions
diff --git a/dns/unbound/files/pkg-deinstall.in b/dns/unbound/files/pkg-deinstall.in index 606cfdb44f5b..e87de8336272 100644 --- a/dns/unbound/files/pkg-deinstall.in +++ b/dns/unbound/files/pkg-deinstall.in @@ -8,10 +8,10 @@ POST-DEINSTALL) echo "===> post-deinstallation information for $1:" echo "" echo " Note:" - echo " Unbound related user accounts and groups were not removed." + echo " Unbound related user account were not removed." echo "" - echo " To remove the 'unbound' user and the 'unbound' group which were" - echo " created by a default installation of this package, run" + echo " To remove the 'unbound' user which were created by" + echo " a default installation of this package, run" echo "" echo " pw userdel -n unbound" ;; diff --git a/dns/unbound/files/pkg-install.in b/dns/unbound/files/pkg-install.in index d0a4e30bec4f..56ff09006d99 100644 --- a/dns/unbound/files/pkg-install.in +++ b/dns/unbound/files/pkg-install.in @@ -5,26 +5,12 @@ PW=/usr/sbin/pw UID=59 -GID=$UID USER="unbound" -GROUP="unbound" PREFIX="%%PREFIX%%" case $2 in PRE-INSTALL) - - if ${PW} group show "${GROUP}" 2>/dev/null; then - echo "You already have a group \"${GROUP}\", so I will use it." - else - if ${PW} groupadd ${GROUP} -g ${GID}; then - echo "Added group \"${GROUP}\"." - else - echo "Adding group \"${GROUP}\" failed..." - exit 1 - fi - fi - if ${PW} user show "${USER}" 2>/dev/null; then echo "You already have a user \"${USER}\", so I will use it." else |