diff options
author | Jimmy Olgeni <olgeni@FreeBSD.org> | 2001-05-02 19:08:50 +0000 |
---|---|---|
committer | Jimmy Olgeni <olgeni@FreeBSD.org> | 2001-05-02 19:08:50 +0000 |
commit | 7fb8311c9098b3bad0d523dbbc731f169f1083a3 (patch) | |
tree | 6c3e40233a1ff7872e4de9b275103fb385c087ce /ftp/lftp/pkg-plist | |
parent | af0193e53c50b4f0e2eff13807c21b26d915fa9d (diff) |
Add proper creation/disposal of etc/lftp.conf from pkg_add and pkg_delete.
Notes
Notes:
svn path=/head/; revision=42175
Diffstat (limited to 'ftp/lftp/pkg-plist')
-rw-r--r-- | ftp/lftp/pkg-plist | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ftp/lftp/pkg-plist b/ftp/lftp/pkg-plist index 28cc3aa86879..fd223abd3c0e 100644 --- a/ftp/lftp/pkg-plist +++ b/ftp/lftp/pkg-plist @@ -1,6 +1,8 @@ bin/lftp bin/lftpget +@unexec if cmp -s %D/etc/lftp.conf %D/etc/lftp.conf.sample; then rm -f %D/etc/lftp.conf; fi etc/lftp.conf.sample +@exec if [ ! -f %D/etc/lftp.conf ]; then cp %B/%f %D/etc/lftp.conf; fi %%PORTDOCS%%share/doc/lftp/COPYING %%PORTDOCS%%share/doc/lftp/FAQ %%PORTDOCS%%share/doc/lftp/NEWS |