aboutsummaryrefslogtreecommitdiff
path: root/www/dalbum
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 /www/dalbum
parent4008c7e23fe847e2c8ade0ecb5d86f943d84c917 (diff)
downloadports-508b8d82f4fdfc6889fe17931ef30f047501dfd6.tar.gz
ports-508b8d82f4fdfc6889fe17931ef30f047501dfd6.zip
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 'www/dalbum')
-rw-r--r--www/dalbum/pkg-plist6
1 files changed, 3 insertions, 3 deletions
diff --git a/www/dalbum/pkg-plist b/www/dalbum/pkg-plist
index 3cb95c4644a4..9d872c59529c 100644
--- a/www/dalbum/pkg-plist
+++ b/www/dalbum/pkg-plist
@@ -81,12 +81,12 @@
%%DALBUM_DIR%%/reindex.php
%%DALBUM_DIR%%/showimg.php
%%DALBUM_DIR%%/version.txt
-@unexec rmdir %D/%%DALBUM_DIR%%/pictures/Sample\ album 2>/dev/null || true
-@unexec rmdir %D/%%DALBUM_DIR%%/pictures 2>/dev/null || true
+@dirrmtry %%DALBUM_DIR%%/pictures/Sample\ album
+@dirrmtry %%DALBUM_DIR%%/pictures
@dirrm %%DALBUM_DIR%%/include/lang
@dirrm %%DALBUM_DIR%%/include
@dirrm %%DALBUM_DIR%%/images/folder
@dirrm %%DALBUM_DIR%%/images
@dirrm %%DALBUM_DIR%%/config
-@unexec rmdir %D/%%DALBUM_DIR%%/.private 2>/dev/null || true
+@dirrmtry %%DALBUM_DIR%%/.private
@dirrm %%DALBUM_DIR%%