mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-02 06:03:50 +00:00
Detect of portsentry.conf hasn't changed and delete on uninstall if true.
PR: 23659 Submitted by: David W. Chapman, Jr. <dwcjr@inethouston.net> Approved by: Dan Langille <dan@langille.org> (MAINTAINER)
This commit is contained in:
parent
cd3604440e
commit
e816a00130
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=36206
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user