diff options
Diffstat (limited to 'system/AnonymousPro/doinst.sh')
-rw-r--r-- | system/AnonymousPro/doinst.sh | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/system/AnonymousPro/doinst.sh b/system/AnonymousPro/doinst.sh index 883c47ac0a60..f0ffee771094 100644 --- a/system/AnonymousPro/doinst.sh +++ b/system/AnonymousPro/doinst.sh @@ -1,10 +1,10 @@ # Update the X font indexes: + if [ -x /usr/bin/mkfontdir ]; then - ( cd /usr/share/fonts/TTF - mkfontscale . - mkfontdir . + ( cd usr/share/fonts/TTF + /usr/bin/mkfontscale . + /usr/bin/mkfontdir . ) -fi -if [ -x /usr/bin/fc-cache ]; then - /usr/bin/fc-cache -f + + [ -x /usr/bin/fc-cache ] && /usr/bin/fc-cache -f fi |