aboutsummaryrefslogtreecommitdiff
path: root/system/oldschool-pc-fonts/doinst.sh
diff options
context:
space:
mode:
Diffstat (limited to 'system/oldschool-pc-fonts/doinst.sh')
-rw-r--r--system/oldschool-pc-fonts/doinst.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/system/oldschool-pc-fonts/doinst.sh b/system/oldschool-pc-fonts/doinst.sh
index 883c47ac0a60c..251ce03afbee5 100644
--- a/system/oldschool-pc-fonts/doinst.sh
+++ b/system/oldschool-pc-fonts/doinst.sh
@@ -1,8 +1,8 @@
# Update the X font indexes:
-if [ -x /usr/bin/mkfontdir ]; then
- ( cd /usr/share/fonts/TTF
- mkfontscale .
- mkfontdir .
+if [ -x /usr/bin/mkfontdir -a -x /usr/bin/mkfontscale ]; then
+ ( cd usr/share/fonts/TTF
+ /usr/bin/mkfontscale .
+ /usr/bin/mkfontdir .
)
fi
if [ -x /usr/bin/fc-cache ]; then