aboutsummaryrefslogtreecommitdiff
path: root/games/xshisen/pkg-plist
diff options
context:
space:
mode:
Diffstat (limited to 'games/xshisen/pkg-plist')
-rw-r--r--games/xshisen/pkg-plist4
1 files changed, 2 insertions, 2 deletions
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