summaryrefslogtreecommitdiff
path: root/net/smokeping
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2006-01-22 03:01:03 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2006-01-22 03:01:03 +0000
commit508b8d82f4fdfc6889fe17931ef30f047501dfd6 (patch)
treef7810d4887e5297c7b7788225e906b99c81d709b /net/smokeping
parentFix pkg-plist. (diff)
Replace ugly "@unexec rmdir %D... 2>/dev/null || true" with @dirrmtry
Approved by: krion@ PR: ports/88711 (related)
Notes
Notes: svn path=/head/; revision=154116
Diffstat (limited to 'net/smokeping')
-rw-r--r--net/smokeping/pkg-plist8
1 files changed, 4 insertions, 4 deletions
diff --git a/net/smokeping/pkg-plist b/net/smokeping/pkg-plist
index c05739f99e48..564a10446dc3 100644
--- a/net/smokeping/pkg-plist
+++ b/net/smokeping/pkg-plist
@@ -145,13 +145,13 @@ smokeping/lib/Smokeping/probes/skel.pm
smokeping/lib/Smokeping/Examples.pm
smokeping/lib/Smokeping/RRDtools.pm
smokeping/lib/Config/Grammar.pm
-@unexec rmdir %D/etc/smokeping 2>/dev/null || true
+@dirrmtry etc/smokeping
@exec mkdir -p %D/smokeping/htdocs/img; chown www:www %D/smokeping/htdocs/img
@unexec rm -rf %D/smokeping/htdocs/img 2>/dev/null || true
@exec mkdir -p %D/var/smokeping
@exec chown smokeping:smokeping %D/var/smokeping
-@unexec rmdir %D/var/smokeping 2>/dev/null || true
-@unexec rmdir %D/var 2>/dev/null || true
+@dirrmtry var/smokeping
+@dirrmtry var
@dirrm smokeping/htdocs
@dirrm smokeping/lib/Config
@dirrm smokeping/lib/Smokeping/probes
@@ -164,4 +164,4 @@ smokeping/lib/Config/Grammar.pm
%%PORTDOCS%%@dirrm %%DOCSDIR%%/Smokeping
%%PORTDOCS%%@dirrm %%DOCSDIR%%
%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%
-@unexec rmdir %D/smokeping 2>/dev/null || true
+@dirrmtry smokeping