summaryrefslogtreecommitdiff
path: root/ftp/vsftpd
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>2001-04-15 01:06:10 +0000
committerSteve Price <steve@FreeBSD.org>2001-04-15 01:06:10 +0000
commit92a896c0f7de03fc42600da4d9166305a24c275d (patch)
tree3ed9567fec303a0b52e2d891c6896489f0802ed5 /ftp/vsftpd
parentAdd a couple of missing files and remove extra directories on uninstall. (diff)
Remove empty directories on uninstall.
Notes
Notes: svn path=/head/; revision=41399
Diffstat (limited to 'ftp/vsftpd')
-rw-r--r--ftp/vsftpd/pkg-plist2
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