aboutsummaryrefslogtreecommitdiffstats
path: root/japanese
diff options
context:
space:
mode:
authorhrs <hrs@FreeBSD.org>2006-02-21 04:48:58 +0800
committerhrs <hrs@FreeBSD.org>2006-02-21 04:48:58 +0800
commit62e4237b8dae3d8837b2085ae8fde00e9dccf911 (patch)
treed6e8f6f47cf0c9c12643f0f8cd3e9e13673c0748 /japanese
parent654894d0d627b812897863a5b0118e2e609d9dce (diff)
downloadfreebsd-ports-gnome-62e4237b8dae3d8837b2085ae8fde00e9dccf911.tar.gz
freebsd-ports-gnome-62e4237b8dae3d8837b2085ae8fde00e9dccf911.tar.zst
freebsd-ports-gnome-62e4237b8dae3d8837b2085ae8fde00e9dccf911.zip
Fix pkg-plist.
Spotted by: pointyhat
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