blob: c25cf656355b307cb235e936208e058286a8e53a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
#!/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
|