diff options
author | olgeni <olgeni@FreeBSD.org> | 2001-05-03 03:08:50 +0800 |
---|---|---|
committer | olgeni <olgeni@FreeBSD.org> | 2001-05-03 03:08:50 +0800 |
commit | 94401ba2409d47e81fb673f05e556f176e3adf23 (patch) | |
tree | 6c25fa75cfe320e96c071d759e98772353412470 /ftp/lftp | |
parent | adcc3e23e0a6051c01d165332dc91250f905d9d7 (diff) | |
download | freebsd-ports-gnome-94401ba2409d47e81fb673f05e556f176e3adf23.tar.gz freebsd-ports-gnome-94401ba2409d47e81fb673f05e556f176e3adf23.tar.zst freebsd-ports-gnome-94401ba2409d47e81fb673f05e556f176e3adf23.zip |
Add proper creation/disposal of etc/lftp.conf from pkg_add and pkg_delete.
Diffstat (limited to 'ftp/lftp')
-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 |