From bb65e32b09190ff21734aa5421dc05989320e44b Mon Sep 17 00:00:00 2001 From: Emanuel Haupt Date: Mon, 17 Oct 2005 09:10:04 +0000 Subject: - Fix pkg-plist and preserve modified config files on update/removal - Bump PORTREVISION Reported by: pointyhat via kris Approved by: novel (mentor) (implicit) --- mail/gld/Makefile | 1 + mail/gld/pkg-plist | 2 ++ 2 files changed, 3 insertions(+) (limited to 'mail/gld') diff --git a/mail/gld/Makefile b/mail/gld/Makefile index 02a358ccd3da..835f3d93e934 100644 --- a/mail/gld/Makefile +++ b/mail/gld/Makefile @@ -7,6 +7,7 @@ PORTNAME= gld PORTVERSION= 1.6 +PORTREVISION= 1 CATEGORIES= mail MASTER_SITES= http://www.gasmi.net/down/ EXTRACT_SUFX= .tgz diff --git a/mail/gld/pkg-plist b/mail/gld/pkg-plist index b2a545008ad3..65a2f23d04b4 100644 --- a/mail/gld/pkg-plist +++ b/mail/gld/pkg-plist @@ -1,4 +1,6 @@ +@unexec if cmp -s %D/etc/gld.conf %D/etc/gld.conf-dist; then rm -f %D/etc/gld.conf; fi etc/gld.conf-dist +@exec [ -f %B/gld.conf ] || cp %B/%f %B/gld.conf etc/rc.d/gld.sh sbin/gld %%PORTDOCS%%%%DOCSDIR%%/HISTORY -- cgit v1.2.3