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:
parent
c1af6cfb57
commit
a4066a6ba3
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=71539
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user