diff options
author | edwin <edwin@FreeBSD.org> | 2006-01-22 11:01:03 +0800 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2006-01-22 11:01:03 +0800 |
commit | e31bed690b2fba4714686b691a351a51b98d80e8 (patch) | |
tree | fb869b3f76a5b4c5a0d4932490adea12d65abd80 /sysutils/munin-node | |
parent | 176655f0a1e9745862db36b0cbfab399d74d1339 (diff) | |
download | freebsd-ports-gnome-e31bed690b2fba4714686b691a351a51b98d80e8.tar.gz freebsd-ports-gnome-e31bed690b2fba4714686b691a351a51b98d80e8.tar.zst freebsd-ports-gnome-e31bed690b2fba4714686b691a351a51b98d80e8.zip |
Replace ugly "@unexec rmdir %D... 2>/dev/null || true" with @dirrmtry
Approved by: krion@
PR: ports/88711 (related)
Diffstat (limited to 'sysutils/munin-node')
-rw-r--r-- | sysutils/munin-node/pkg-plist | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sysutils/munin-node/pkg-plist b/sysutils/munin-node/pkg-plist index b02ef7a2437d..62a14c300c96 100644 --- a/sysutils/munin-node/pkg-plist +++ b/sysutils/munin-node/pkg-plist @@ -108,12 +108,12 @@ sbin/munin-run %%DATADIR%%/plugins/vmstat @unexec rm -f /var/run/munin/munin-node.pid @unexec rmdir /var/run/munin 2>/dev/null || true -@unexec rmdir %D/var/munin/plugin-state 2>/dev/null || true -@unexec rmdir %D/var/munin 2>/dev/null || true -@unexec rmdir %D/%%DATADIR%%/plugins 2>/dev/null || true -@unexec rmdir %D/%%DATADIR%% 2>/dev/null || true -@unexec rmdir %D/etc/munin/plugin-conf.d 2>/dev/null || true -@unexec rmdir %D/etc/munin 2>/dev/null || true +@dirrmtry var/munin/plugin-state +@dirrmtry var/munin +@dirrmtry %%DATADIR%%/plugins +@dirrmtry %%DATADIR%% +@dirrmtry etc/munin/plugin-conf.d +@dirrmtry etc/munin @unexec rmdir %%LOCALBASE%%/%%SITE_PERL%%/Munin/Plugin 2>/dev/null || true @unexec rmdir %%LOCALBASE%%/%%SITE_PERL%%/Munin 2>/dev/null || true @unexec echo |