From 0416031c9ba13da33845bc762078065b482dd551 Mon Sep 17 00:00:00 2001 From: Edwin Groothuis Date: Sun, 22 Jan 2006 02:20:05 +0000 Subject: Replace ugly "@unexec rmdir %D... 2>/dev/null || true" with @dirrmtry Approved by: krion@ PR: ports/88711 (related) --- games/xshisen/pkg-plist | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'games/xshisen') diff --git a/games/xshisen/pkg-plist b/games/xshisen/pkg-plist index 87a5589e81a3..df3786b4af00 100644 --- a/games/xshisen/pkg-plist +++ b/games/xshisen/pkg-plist @@ -77,7 +77,7 @@ lib/X11/ja_JP.eucJP/app-defaults/XShisen @dirrm %%DATADIR%%/s2 @dirrm %%DATADIR%%/s1 @dirrm %%DATADIR%% -@unexec rmdir %D/lib/X11/ja_JP.eucJP/app-defaults 2>/dev/null || true -@unexec rmdir %D/lib/X11/ja_JP.eucJP 2>/dev/null || true +@dirrmtry lib/X11/ja_JP.eucJP/app-defaults +@dirrmtry lib/X11/ja_JP.eucJP @exec [ -d %D/lib/X11/ja_JP.EUC/ -a -d %D/lib/X11/ja_JP.EUC/app-defaults ] && ln -s %D/lib/X11/ja_JP.eucJP/app-defaults/XShisen %D/lib/X11/ja_JP.EUC/app-defaults || true @unexec rm %D/lib/X11/ja_JP.EUC/app-defaults/XShisen 2>/dev/null || true -- cgit v1.2.3