From e816a00130063164591437dc11890b81262dd0d1 Mon Sep 17 00:00:00 2001 From: Will Andrews Date: Thu, 21 Dec 2000 19:42:04 +0000 Subject: Detect of portsentry.conf hasn't changed and delete on uninstall if true. PR: 23659 Submitted by: David W. Chapman, Jr. Approved by: Dan Langille (MAINTAINER) --- security/portsentry/pkg-plist | 1 + 1 file changed, 1 insertion(+) (limited to 'security') diff --git a/security/portsentry/pkg-plist b/security/portsentry/pkg-plist index bdea2fd1c390..5ecc8a262caf 100644 --- a/security/portsentry/pkg-plist +++ b/security/portsentry/pkg-plist @@ -1,4 +1,5 @@ bin/portsentry +@unexec if cmp -s %D/etc/portsentry.conf %D/etc/portsentry.conf.default; then rm -f %D/etc/portsentry.conf; fi etc/portsentry.conf.default @exec if [ ! -f %D/etc/portsentry.conf ] ; then cp -p %D/%F %B/portsentry.conf; fi etc/portsentry.ignore -- cgit v1.2.3