1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00

net-mgmt/flowd: Remove useless pkg-deinstall script

A message to delete the _flowd user/group after deinstallation is
already printed by USERS/GROUPS.  No need to print it twice.
This commit is contained in:
Tobias Kortkamp 2019-12-20 09:48:50 +00:00
parent dfbf873f2b
commit 866f166217
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=520488
2 changed files with 1 additions and 21 deletions

View File

@ -3,7 +3,7 @@
PORTNAME= flowd
PORTVERSION= 0.9.1
PORTREVISION= 3
PORTREVISION= 4
CATEGORIES= net-mgmt
MASTER_SITES= http://mindrot.org/files/flowd/

View File

@ -1,20 +0,0 @@
#!/bin/sh
#
# $FreeBSD$
#
FLOWD_USER=${FLOWD_USER:=_flowd}
delete_user() {
if pw usershow ${FLOWD_USER} 2>/dev/null 1>&2; then
echo "To delete flowd privilege separation user permanently, use 'pw userdel ${FLOWD_USER}'"
fi
}
case $2 in
POST-DEINSTALL)
delete_user
;;
esac