Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Mar 2021 22:27:48 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r569366 - head/net-mgmt/arpwatch
Message-ID:  <202103272227.12RMRmop080868@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Sat Mar 27 22:27:48 2021
New Revision: 569366
URL: https://svnweb.freebsd.org/changeset/ports/569366

Log:
  Convert to @touch

Modified:
  head/net-mgmt/arpwatch/pkg-plist

Modified: head/net-mgmt/arpwatch/pkg-plist
==============================================================================
--- head/net-mgmt/arpwatch/pkg-plist	Sat Mar 27 22:25:32 2021	(r569365)
+++ head/net-mgmt/arpwatch/pkg-plist	Sat Mar 27 22:27:48 2021	(r569366)
@@ -11,6 +11,6 @@ man/man8/arpsnmp.8.gz
 man/man8/arpwatch.8.gz
 sbin/arpsnmp
 sbin/arpwatch
-@postexec test -f %D/arpwatch/arp.dat || touch %D/arpwatch/arp.dat
-@preunexec test -f %D/arpwatch/arp.dat && test -s %D/arpwatch/arp.dat || rm -f %D/arpwatch/arp.dat
+@touch arpwatch/arp.dat
+@rmempty arpwatch/arp.dat
 @dir(,operator,0755) arpwatch



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202103272227.12RMRmop080868>