diff options
author | edwin <edwin@FreeBSD.org> | 2003-01-16 13:56:50 +0800 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2003-01-16 13:56:50 +0800 |
commit | e5863fe0ec0a70f7b1ce588a0745ea34e0d9f98b (patch) | |
tree | 2d7890ac0534b39b1bbfc17bf26460aabe71816b /net/xbone/pkg-deinstall | |
parent | b91d90a6b6646654d6c4c45bad1b8356b6ecfc1f (diff) | |
download | freebsd-ports-gnome-e5863fe0ec0a70f7b1ce588a0745ea34e0d9f98b.tar.gz freebsd-ports-gnome-e5863fe0ec0a70f7b1ce588a0745ea34e0d9f98b.tar.zst freebsd-ports-gnome-e5863fe0ec0a70f7b1ce588a0745ea34e0d9f98b.zip |
upgrade net/xbone port from 1.3.1 to 2.0
PR: ports/46849
Submitted by: Yu-Shun Wang <yushunwa@isi.edu>
Diffstat (limited to 'net/xbone/pkg-deinstall')
-rw-r--r-- | net/xbone/pkg-deinstall | 22 |
1 files changed, 6 insertions, 16 deletions
diff --git a/net/xbone/pkg-deinstall b/net/xbone/pkg-deinstall index 6fe609cfddff..6148c6469db5 100644 --- a/net/xbone/pkg-deinstall +++ b/net/xbone/pkg-deinstall @@ -7,21 +7,11 @@ if [ $2 != "POST-DEINSTALL" ]; then exit 0 fi echo "==> Post-deinstallation cleanup:" -if [ -d /etc/xbone ]; then - /usr/bin/dialog --yesno "/etc/xbone found. Do you want to DELETE it?\ - Warning: <YES> would DELETE ALL XBONE CONFIG/STATE\ - files and ALL CERTIFICATES." 8 50 && - rm -rf /etc/xbone || echo " - /etc/xbone is not deleted." -fi -/usr/bin/dialog --yesno "Do you want to DELETE all remaining XBone files\ - under /usr/local/xbone, /usr/local/www & /usr/local/etc/apache?" 8 50 && -for f in /usr/local/xbone /usr/local/www /usr/local/etc/apache; do - if [ -d $f ]; then - rm -rf $f - fi - if [ -d "$f-OLD" ]; then - mv -f $f-OLD $f +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 || -echo "Check /usr/local/[xbone|www|etc/apache] for possible remaining files." +done |