summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>2001-04-15 01:06:10 +0000
committersteve <steve@FreeBSD.org>2001-04-15 01:06:10 +0000
commit55d37dd14419474b3cc6ea6a3b4eba3b93991c6b (patch)
treeec1cd68364b0393e5fb7d08f12a12400dd2cd4a8
parent0f58259818018fe3dc7ef2214896f5b8f18b7f7c (diff)
downloadFreeBSD-ports-55d37dd14419474b3cc6ea6a3b4eba3b93991c6b.zip
FreeBSD-ports-55d37dd14419474b3cc6ea6a3b4eba3b93991c6b.tar.gz
Remove empty directories on uninstall.
-rw-r--r--devel/shtool/pkg-plist1
-rw-r--r--ftp/vsftpd/pkg-plist2
2 files changed, 3 insertions, 0 deletions
diff --git a/devel/shtool/pkg-plist b/devel/shtool/pkg-plist
index c0cacf6..68a8043 100644
--- a/devel/shtool/pkg-plist
+++ b/devel/shtool/pkg-plist
@@ -19,3 +19,4 @@ share/shtool/sh.arx
share/shtool/sh.slo
share/shtool/sh.version
share/shtool/sh.path
+@dirrm share/shtool
diff --git a/ftp/vsftpd/pkg-plist b/ftp/vsftpd/pkg-plist
index cabe846..73fbe06 100644
--- a/ftp/vsftpd/pkg-plist
+++ b/ftp/vsftpd/pkg-plist
@@ -2,3 +2,5 @@ libexec/vsftpd
@unexec if ! `grep -q %D/etc/vsftpd.conf %D/etc/vsftpd.conf.dist`; then rm %D/etc/vsftpd.conf; fi
etc/vsftpd.conf.dist
@exec if [ ! -f %B/vsftpd.conf ]; then cp %B/vsftpd.conf.dist %B/vsftpd.conf; fi
+@unexec rmdir %D/share/vsftpd/empty 2>/dev/null || true
+@unexec rmdir %D/share/vsftpd 2>/dev/null || true
OpenPOWER on IntegriCloud