1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00
freebsd-ports/net/xbone/pkg-deinstall
Edwin Groothuis 4383068c54 upgrade net/xbone port from 1.3.1 to 2.0
PR:		ports/46849
Submitted by:	Yu-Shun Wang <yushunwa@isi.edu>
2003-01-16 05:56:50 +00:00

18 lines
429 B
Bash

#!/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