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