mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +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:
parent
dfbf873f2b
commit
866f166217
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=520488
@ -3,7 +3,7 @@
|
||||
|
||||
PORTNAME= flowd
|
||||
PORTVERSION= 0.9.1
|
||||
PORTREVISION= 3
|
||||
PORTREVISION= 4
|
||||
CATEGORIES= net-mgmt
|
||||
MASTER_SITES= http://mindrot.org/files/flowd/
|
||||
|
||||
|
@ -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
|
Loading…
Reference in New Issue
Block a user