aboutsummaryrefslogtreecommitdiffstats
path: root/japanese
diff options
context:
space:
mode:
Diffstat (limited to 'japanese')
-rw-r--r--japanese/font-sazanami/pkg-plist4
-rw-r--r--japanese/sazanami-ttf/pkg-plist4
2 files changed, 4 insertions, 4 deletions
diff --git a/japanese/font-sazanami/pkg-plist b/japanese/font-sazanami/pkg-plist
index fff66431c2c6..e5f4c296e857 100644
--- a/japanese/font-sazanami/pkg-plist
+++ b/japanese/font-sazanami/pkg-plist
@@ -24,7 +24,7 @@ etc/fonts/conf.d/3.sazanami-ttf.conf
@exec ln -s -f %D/%%FONTSDIR%%/sazanami-gothic.ttf %%LOCALFONTSDIR%%/TrueType/sazanami-gothic.ttf
@unexec rm -f %%LOCALFONTSDIR%%/TrueType/sazanami-mincho.ttf
@unexec rm -f %%LOCALFONTSDIR%%/TrueType/sazanami-gothic.ttf
-@dirrmtry %%LOCALFONTSDIR%%/TrueType
-@dirrmtry %%LOCALFONTSDIR%%
+@unexec /bin/rmdir %%LOCALFONTSDIR%%/TrueType 2> /dev/null || true
+@unexec /bin/rmdir %%LOCALFONTSDIR%% 2> /dev/null || true
@unexec %%X11BASE%%/bin/fc-cache -f -v %D/%%FONTSDIR%% || true
@unexec if [ -s %D/%%FONTSDIR%%/fonts.cache-1 ]; then rm -f %D/%%FONTSDIR%%/fonts.cache-1; fi
diff --git a/japanese/sazanami-ttf/pkg-plist b/japanese/sazanami-ttf/pkg-plist
index fff66431c2c6..e5f4c296e857 100644
--- a/japanese/sazanami-ttf/pkg-plist
+++ b/japanese/sazanami-ttf/pkg-plist
@@ -24,7 +24,7 @@ etc/fonts/conf.d/3.sazanami-ttf.conf
@exec ln -s -f %D/%%FONTSDIR%%/sazanami-gothic.ttf %%LOCALFONTSDIR%%/TrueType/sazanami-gothic.ttf
@unexec rm -f %%LOCALFONTSDIR%%/TrueType/sazanami-mincho.ttf
@unexec rm -f %%LOCALFONTSDIR%%/TrueType/sazanami-gothic.ttf
-@dirrmtry %%LOCALFONTSDIR%%/TrueType
-@dirrmtry %%LOCALFONTSDIR%%
+@unexec /bin/rmdir %%LOCALFONTSDIR%%/TrueType 2> /dev/null || true
+@unexec /bin/rmdir %%LOCALFONTSDIR%% 2> /dev/null || true
@unexec %%X11BASE%%/bin/fc-cache -f -v %D/%%FONTSDIR%% || true
@unexec if [ -s %D/%%FONTSDIR%%/fonts.cache-1 ]; then rm -f %D/%%FONTSDIR%%/fonts.cache-1; fi