diff options
author | Edwin Groothuis <edwin@FreeBSD.org> | 2006-01-22 03:01:03 +0000 |
---|---|---|
committer | Edwin Groothuis <edwin@FreeBSD.org> | 2006-01-22 03:01:03 +0000 |
commit | 508b8d82f4fdfc6889fe17931ef30f047501dfd6 (patch) | |
tree | f7810d4887e5297c7b7788225e906b99c81d709b /net-mgmt/nav | |
parent | Fix 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-mgmt/nav')
-rw-r--r-- | net-mgmt/nav/pkg-plist | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/net-mgmt/nav/pkg-plist b/net-mgmt/nav/pkg-plist index fbbdcb37cee0..89bad457af25 100644 --- a/net-mgmt/nav/pkg-plist +++ b/net-mgmt/nav/pkg-plist @@ -578,12 +578,12 @@ nav/lib/python/rotater.py @exec install -d -m 0755 -o navcron -g nav %D/nav/var/rrd %D/nav/var/run %D/nav/var/pg_backup %D/nav/var/log @unexec rm %D/nav/var/log/thresholdMon.log 2>/dev/null || true @unexec rm %D/nav/var/run/*.pid 2>/dev/null || true -@unexec rmdir %D/nav/var/log/* 2>/dev/null || true -@unexec rmdir %D/nav/var/log 2>/dev/null || true -@unexec rmdir %D/nav/var/rrd 2>/dev/null || true -@unexec rmdir %D/nav/var/run 2>/dev/null || true -@unexec rmdir %D/nav/var/pg_backup 2>/dev/null || true -@unexec rmdir %D/nav/var 2>/dev/null || true +@dirrmtry nav/var/log/* +@dirrmtry nav/var/log +@dirrmtry nav/var/rrd +@dirrmtry nav/var/run +@dirrmtry nav/var/pg_backup +@dirrmtry nav/var @unexec find %D/nav/lib/python/nav -type f -name "*.pyc" -delete 2>/dev/null || true @dirrm nav/apache/tools @dirrm nav/apache/webapps @@ -675,5 +675,5 @@ nav/lib/python/rotater.py @dirrm nav/lib/python/nav @dirrm nav/lib/python @dirrm nav/lib -@unexec rmdir %D/nav 2>/dev/null || true +@dirrmtry nav @unexec echo "Some files/directories may be left in %D/nav/var." |