mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-13 03:03:15 +00:00
b733011372
PR: ports/33702 Submitted by: Yen-Ming Lee <leeym@utopia.leeym.com> Reviewed and fixed by: knu
29 lines
515 B
Bash
29 lines
515 B
Bash
#!/bin/sh
|
|
#
|
|
|
|
# Verify proper execution
|
|
#
|
|
if [ $# -ne 2 ]; then
|
|
echo "usage: $0 distname { DEINSTALL | POST-DEINSTALL }" >&2
|
|
exit 1
|
|
fi
|
|
|
|
# Verify/process the command
|
|
#
|
|
case $2 in
|
|
DEINSTALL)
|
|
cat /etc/crontab | /usr/bin/sed -e '/bsdsar/d' > /tmp/crontab.bsdsar
|
|
mv /tmp/crontab.bsdsar /etc/crontab
|
|
;;
|
|
POST-DEINSTALL)
|
|
: nothing to post-deinstall for this port
|
|
;;
|
|
*)
|
|
echo "usage: $0 distname { DEINSTALL | POST-DEINSTALL }" >&2
|
|
exit 1
|
|
;;
|
|
esac
|
|
|
|
exit 0
|
|
|