aboutsummaryrefslogtreecommitdiff
path: root/japanese
diff options
context:
space:
mode:
authorHiroki Sato <hrs@FreeBSD.org>2006-02-20 20:48:58 +0000
committerHiroki Sato <hrs@FreeBSD.org>2006-02-20 20:48:58 +0000
commitaf5d5061f820712760764ee5f8e8a3be5a03bfb7 (patch)
tree4f0013be22c97903b482fee60622a3a7820ef496 /japanese
parentc49d1a3273d77f35b5564b3722856ca8b9dcc291 (diff)
downloadports-af5d5061f820712760764ee5f8e8a3be5a03bfb7.tar.gz
ports-af5d5061f820712760764ee5f8e8a3be5a03bfb7.zip
Notes
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