diff options
author | Dirk Meyer <dinoex@FreeBSD.org> | 2002-12-11 21:25:00 +0000 |
---|---|---|
committer | Dirk Meyer <dinoex@FreeBSD.org> | 2002-12-11 21:25:00 +0000 |
commit | a4066a6ba3c683d78a52088372bbd8ddc3dbb152 (patch) | |
tree | 6577c1b70ac2fd96fc4668c91633bf6b77edece6 /ftp | |
parent | c1af6cfb57103a65b42d65e4e1f5c5e4c24f1da0 (diff) | |
download | ports-a4066a6ba3c683d78a52088372bbd8ddc3dbb152.tar.gz ports-a4066a6ba3c683d78a52088372bbd8ddc3dbb152.zip |
Fix PLIST so configuration is not deleted
Notes
Notes:
svn path=/head/; revision=71539
Diffstat (limited to 'ftp')
-rw-r--r-- | ftp/vsftpd/pkg-plist | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ftp/vsftpd/pkg-plist b/ftp/vsftpd/pkg-plist index 30a859fd2577..9aa077c1319a 100644 --- a/ftp/vsftpd/pkg-plist +++ b/ftp/vsftpd/pkg-plist @@ -1,6 +1,6 @@ libexec/vsftpd @exec mkdir -p %D/share/vsftpd/empty -@unexec if ! `grep -q %D/etc/vsftpd.conf %D/etc/vsftpd.conf.dist`; then rm %D/etc/vsftpd.conf; fi +@unexec if diff -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 @exec if [ ! -d /var/ftp ]; then mkdir /var/ftp ; fi |