freebsd-ports/net-mgmt/ifgraph/files/pkg-deinstall.in
Lars Thegler bd8e224a09 Use the USERS/GROUPS mechanism
PR:		ports/148320
Submitted by:	Bapt <baptiste.daroussin@gmail.com>
2010-08-12 13:20:34 +00:00

20 lines
425 B
Bash

#!/bin/sh
#
# $FreeBSD: /tmp/pcvs/ports/net-mgmt/ifgraph/files/pkg-deinstall.in,v 1.2 2010-08-12 13:20:34 lth Exp $
#
PATH=/bin:/usr/bin:/usr/sbin
case $2 in
DEINSTALL)
echo '---> Starting deinstall script:'
echo '---> Zeroing crontab(5) file belonging to user "%%USER%%"'
/usr/bin/crontab -u %%USER%% /dev/null
echo ' (The crontab(5) will be deleted completely when user "%%USER%%" is removed.)'
;;
esac