From 0f832ff604283fdf61904d4b5b66ff3460647eba Mon Sep 17 00:00:00 2001 From: Eric Hameleers Date: Wed, 24 Feb 2016 00:14:06 +0100 Subject: Fix fontconfig. --- make_slackware_live.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'make_slackware_live.sh') diff --git a/make_slackware_live.sh b/make_slackware_live.sh index e6b6dc8..e76549c 100755 --- a/make_slackware_live.sh +++ b/make_slackware_live.sh @@ -1301,7 +1301,7 @@ chroot ${LIVE_ROOTDIR} /bin/bash < /dev/null 2>${DBGOUT} @@ -1322,9 +1322,9 @@ fi # Font configuration: if [ -x /usr/bin/fc-cache ]; then for fontdir in 100dpi 75dpi OTF Speedo TTF Type1 cyrillic ; do - if [ -d /usr/share/fonts/$fontdir ]; then - mkfontscale /usr/share/fonts/$fontdir 1>/dev/null 2>${DBGOUT} - mkfontdir /usr/share/fonts/$fontdir 1>/dev/null 2>${DBGOUT} + if [ -d /usr/share/fonts/\$fontdir ]; then + mkfontscale /usr/share/fonts/\$fontdir 1>/dev/null 2>${DBGOUT} + mkfontdir /usr/share/fonts/\$fontdir 1>/dev/null 2>${DBGOUT} fi done if [ -d /usr/share/fonts/misc ]; then -- cgit v1.2.3