summaryrefslogtreecommitdiff
path: root/net/xbone/pkg-deinstall
blob: 6148c6469db55a1c3dffdd566d116a30a3d6b811 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh
if [ -z $2 ]; then
  exit 0
fi
if [ $2 != "POST-DEINSTALL" ]; then
  echo "!!! This script is for post-deinstallation only."; \
  exit 0
fi
echo "==> Post-deinstallation cleanup:"
echo "    Check the following directories to clean X-Bone related files:"
dirs="/etc/xbone /etc/named/xbone /usr/local/etc/xbone /usr/local/xbone /usr/local/www/xbone"
for p in $dirs; do
  if [ -d $p ]; then
    echo "      $p"
  fi
done