diff options
author | dinoex <dinoex@FreeBSD.org> | 2002-12-12 05:25:00 +0800 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2002-12-12 05:25:00 +0800 |
commit | d86e477a3dcb751526df9232043cb67601d20374 (patch) | |
tree | 1c86223a234f7d3c62b3fe5e8d4e473708337bf6 /ftp | |
parent | 366a8fbb0d27f28218f8111113ab0dee79fde475 (diff) | |
download | freebsd-ports-graphics-d86e477a3dcb751526df9232043cb67601d20374.tar.gz freebsd-ports-graphics-d86e477a3dcb751526df9232043cb67601d20374.tar.zst freebsd-ports-graphics-d86e477a3dcb751526df9232043cb67601d20374.zip |
Fix PLIST so configuration is not deleted
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 30a859fd257..9aa077c1319 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 |