blob: c57341fd829fd839fffd11cc72bbd6b08d4e475b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#!/bin/sh
if [ "$2" = DEINSTALL ]; then
echo "==============================================================================="
echo "If you are permanently removing this port:"
echo ""
echo "- You should manually remove the fcron user and group."
/bin/rmdir /var/spool/fcron 2>/dev/null
if [ -d /var/spool/fcron ]; then
echo "- You should manually remove the /var/spool/fcron directory."
fi
for f in fcron.allow fcron.conf fcron.deny; do
if /usr/bin/cmp -s $PKG_PREFIX/etc/$f $PKG_PREFIX/etc/$f.dist; then
/bin/rm -f $PKG_PREFIX/etc/$f
else
echo "- You should manually remove the $PKG_PREFIX/etc/$f file."
fi
done
echo "==============================================================================="
fi
|