aboutsummaryrefslogtreecommitdiff
path: root/system/Iosevka/doinst.sh
diff options
context:
space:
mode:
authorEugene M <damagedone@gmx.com>2020-10-02 00:07:26 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-10-03 09:01:45 +0700
commitce962243ef29f480a8293365b3d4acafdabeb30d (patch)
tree6bcc60be0967654c11825586ec5ed4f77eadd7b4 /system/Iosevka/doinst.sh
parent54ccfdc64b2649e0ad9f970530e70a133cd35736 (diff)
system/Iosevka: 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/doinst.sh')
-rw-r--r--system/Iosevka/doinst.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/system/Iosevka/doinst.sh b/system/Iosevka/doinst.sh
index 883c47ac0a60c..2909ee40e118f 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