aboutsummaryrefslogtreecommitdiffstats
path: root/ftp/lftp
diff options
context:
space:
mode:
Diffstat (limited to 'ftp/lftp')
-rw-r--r--ftp/lftp/pkg-plist2
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