summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2000-06-23 08:50:08 +0000
committersobomax <sobomax@FreeBSD.org>2000-06-23 08:50:08 +0000
commitc6ec13e31d2e499e50089b9f4cd92b1b23388fc7 (patch)
tree30426d0ed4a82aed781240c9cd3c8ef8c127fe77 /net
parentf37ccf878a85d4aeb7ed5209c8cc51bf00a3a4ac (diff)
downloadFreeBSD-ports-c6ec13e31d2e499e50089b9f4cd92b1b23388fc7.zip
FreeBSD-ports-c6ec13e31d2e499e50089b9f4cd92b1b23388fc7.tar.gz
Remove "Extra" item on deinstall.
Submitted by: bento
Diffstat (limited to 'net')
-rw-r--r--net/arpwatch-devel/pkg-plist2
-rw-r--r--net/arpwatch/pkg-plist2
2 files changed, 4 insertions, 0 deletions
diff --git a/net/arpwatch-devel/pkg-plist b/net/arpwatch-devel/pkg-plist
index 975fa8d..2d3d476 100644
--- a/net/arpwatch-devel/pkg-plist
+++ b/net/arpwatch-devel/pkg-plist
@@ -1,8 +1,10 @@
sbin/arpwatch
sbin/arpsnmp
+@unexec test -f %D/arpwatch/arp.dat && test -s %D/arpwatch/arp.dat || rm -f %D/arpwatch/arp.dat
arpwatch/arp2ethers
arpwatch/ethercodes.dat
arpwatch/d.awk
arpwatch/e.awk
arpwatch/p.awk
etc/rc.d/arpwatch.sh
+@dirrm arpwatch
diff --git a/net/arpwatch/pkg-plist b/net/arpwatch/pkg-plist
index 975fa8d..2d3d476 100644
--- a/net/arpwatch/pkg-plist
+++ b/net/arpwatch/pkg-plist
@@ -1,8 +1,10 @@
sbin/arpwatch
sbin/arpsnmp
+@unexec test -f %D/arpwatch/arp.dat && test -s %D/arpwatch/arp.dat || rm -f %D/arpwatch/arp.dat
arpwatch/arp2ethers
arpwatch/ethercodes.dat
arpwatch/d.awk
arpwatch/e.awk
arpwatch/p.awk
etc/rc.d/arpwatch.sh
+@dirrm arpwatch
OpenPOWER on IntegriCloud