diff options
Diffstat (limited to 'japanese/sazanami-ttf/pkg-plist')
-rw-r--r-- | japanese/sazanami-ttf/pkg-plist | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/japanese/sazanami-ttf/pkg-plist b/japanese/sazanami-ttf/pkg-plist index e5f4c29..cd108e7 100644 --- a/japanese/sazanami-ttf/pkg-plist +++ b/japanese/sazanami-ttf/pkg-plist @@ -18,7 +18,7 @@ etc/fonts/conf.d/3.sazanami-ttf.conf %%PORTDOCS%%@dirrm %%DOCSDIR%%/ayu %%PORTDOCS%%@dirrm %%DOCSDIR%%/kappa %%PORTDOCS%%@dirrm %%DOCSDIR%% -@exec %%X11BASE%%/bin/fc-cache -f -v %D/%%FONTSDIR%% || true +@exec %%LOCALBASE%%/bin/fc-cache -f -v %D/%%FONTSDIR%% || true @exec mkdir -p %%LOCALFONTSDIR%%/TrueType @exec ln -s -f %D/%%FONTSDIR%%/sazanami-mincho.ttf %%LOCALFONTSDIR%%/TrueType/sazanami-mincho.ttf @exec ln -s -f %D/%%FONTSDIR%%/sazanami-gothic.ttf %%LOCALFONTSDIR%%/TrueType/sazanami-gothic.ttf @@ -26,5 +26,5 @@ etc/fonts/conf.d/3.sazanami-ttf.conf @unexec rm -f %%LOCALFONTSDIR%%/TrueType/sazanami-gothic.ttf @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 %%LOCALBASE%%/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 |