aboutsummaryrefslogtreecommitdiff
path: root/system/Iosevka-slab/doinst.sh
diff options
context:
space:
mode:
authorEugene M <damagedone@gmx.com>2020-10-02 00:02:11 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-10-03 09:01:45 +0700
commit54ccfdc64b2649e0ad9f970530e70a133cd35736 (patch)
tree1021c3a56db22bda1d0050bfd6d229fb92e577d4 /system/Iosevka-slab/doinst.sh
parentba2fd41174296b647b3f9ab5e5fabe5a304b0292 (diff)
system/Iosevka-slab: Updated for version 3.6.1.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/Iosevka-slab/doinst.sh')
-rw-r--r--system/Iosevka-slab/doinst.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/system/Iosevka-slab/doinst.sh b/system/Iosevka-slab/doinst.sh
index 14f39b38cd724..2909ee40e118f 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