2e23771c68
*** NOTE *** The preferences file format has changed, as have the periodic.conf(5) names. Normally the default settings should be adequate, except when you need to configure a proxy. Use $PREFIX/etc/portaudit.conf.sample as an example. - moved portaudit to sbin - clean up, merging stuff into the portaudit script - better return codes and errors to stderr - -f can check stdin now - dropped ports tree auditing - merged the periodic(8) scripts into one - run daily auditing as `nobody'
19 lines
367 B
Bash
19 lines
367 B
Bash
#!/bin/sh
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
case $2 in
|
|
POST-DEINSTALL)
|
|
echo
|
|
echo "The portaudit package has been deleted."
|
|
if [ -f "%%DATABASEDIR%%/auditfile.tbz" ]; then
|
|
echo "If you're *not* upgrading and won't be using"
|
|
echo "it any longer, you may want to remove the"
|
|
echo "portaudit database:"
|
|
echo
|
|
echo " rm -Rf %%DATABASEDIR%%"
|
|
fi
|
|
echo
|
|
;;
|
|
esac
|