diff options
author | steve <steve@FreeBSD.org> | 2001-04-15 09:06:10 +0800 |
---|---|---|
committer | steve <steve@FreeBSD.org> | 2001-04-15 09:06:10 +0800 |
commit | 55d37dd14419474b3cc6ea6a3b4eba3b93991c6b (patch) | |
tree | ec1cd68364b0393e5fb7d08f12a12400dd2cd4a8 /ftp/vsftpd | |
parent | 0f58259818018fe3dc7ef2214896f5b8f18b7f7c (diff) | |
download | freebsd-ports-gnome-55d37dd14419474b3cc6ea6a3b4eba3b93991c6b.tar.gz freebsd-ports-gnome-55d37dd14419474b3cc6ea6a3b4eba3b93991c6b.tar.zst freebsd-ports-gnome-55d37dd14419474b3cc6ea6a3b4eba3b93991c6b.zip |
Remove empty directories on uninstall.
Diffstat (limited to 'ftp/vsftpd')
-rw-r--r-- | ftp/vsftpd/pkg-plist | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ftp/vsftpd/pkg-plist b/ftp/vsftpd/pkg-plist index cabe8461cc69..73fbe069d3e8 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 |