diff options
Diffstat (limited to 'system/Iosevka/doinst.sh')
-rw-r--r-- | system/Iosevka/doinst.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/system/Iosevka/doinst.sh b/system/Iosevka/doinst.sh index 883c47ac0a..2909ee40e1 100644 --- a/system/Iosevka/doinst.sh +++ b/system/Iosevka/doinst.sh @@ -1,10 +1,10 @@ # Update the X font indexes: + if [ -x /usr/bin/mkfontdir ]; then ( cd /usr/share/fonts/TTF mkfontscale . 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 |