mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-28 05:29:48 +00:00
4383068c54
PR: ports/46849 Submitted by: Yu-Shun Wang <yushunwa@isi.edu>
18 lines
429 B
Bash
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
|
|
|