From 7fb8311c9098b3bad0d523dbbc731f169f1083a3 Mon Sep 17 00:00:00 2001 From: Jimmy Olgeni Date: Wed, 2 May 2001 19:08:50 +0000 Subject: Add proper creation/disposal of etc/lftp.conf from pkg_add and pkg_delete. --- ftp/lftp/pkg-plist | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ftp/lftp') 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 -- cgit v1.2.3