From 186c2e326cb8f9a0f44b44cdbf6314e0999b346e Mon Sep 17 00:00:00 2001 From: Edwin Groothuis Date: Sun, 22 Jan 2006 06:28:59 +0000 Subject: Replace ugly "@unexec rmdir %D... 2>/dev/null || true" with @dirrmtry Approved by: krion@ PR: ports/88711 (related) --- www/xaraya/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'www/xaraya/Makefile') diff --git a/www/xaraya/Makefile b/www/xaraya/Makefile index eb4d3ebd1ce6..85fa9e0605c4 100644 --- a/www/xaraya/Makefile +++ b/www/xaraya/Makefile @@ -56,7 +56,7 @@ post-install: -or -name upgrade.php ')' | ${SED} -e \ 's,^${PREFIX}/\(.*\),@unexec rm -f %D/\1 >/dev/null 2>\&1 || true,' >> ${TMPPLIST} @${FIND} ${PREFIX}/${XARAYADIR} -type d -and -path "*var*" | \ - ${SED} -e 's,^${PREFIX}/\(.*\),@unexec rmdir %D/\1 >/dev/null 2>\&1 || true,' | \ + ${SED} -e 's,^${PREFIX}/\(.*\),@dirrmtry \1,' | \ ${SORT} -r >> ${TMPPLIST} @${FIND} ${PREFIX}/${XARAYADIR} -type d -and ! -path "*var*" | \ ${SED} -e 's,^${PREFIX}/,@dirrm ,' | \ -- cgit v1.2.3