. Add a pkg-deinstall script telling people how they can get rid of the
clamav user permanently if they wish to.
This commit is contained in:
parent
b62a486d8f
commit
095206badd
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=99865
13
security/clamav/pkg-deinstall
Normal file
13
security/clamav/pkg-deinstall
Normal file
@ -0,0 +1,13 @@
|
||||
#!/bin/sh
|
||||
# $FreeBSD$
|
||||
|
||||
if [ "$2" != "POST-DEINSTALL" ]; then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
USER=clamav
|
||||
|
||||
if pw usershow "${USER}" 2>/dev/null 1>&2; then
|
||||
echo "To delete ${USER} user permanently, use 'pw userdel \"${USER}\"'"
|
||||
fi
|
||||
exit 0
|
Loading…
Reference in New Issue
Block a user