1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

Fix PLIST so configuration is not deleted

This commit is contained in:
Dirk Meyer 2002-12-11 21:25:00 +00:00
parent c1af6cfb57
commit a4066a6ba3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=71539

View File

@ -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