summaryrefslogtreecommitdiffstats
path: root/make_slackware_live.sh
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2016-02-24 00:14:06 +0100
committer Eric Hameleers <alien@slackware.com>2016-02-24 00:14:06 +0100
commit0f832ff604283fdf61904d4b5b66ff3460647eba (patch)
tree0a7f8e4e21c417807ca3566adf45aca9fea8f5d4 /make_slackware_live.sh
parent1b93a3cb5819c966148205b178b8d9a4332c7861 (diff)
downloadliveslak-0f832ff604283fdf61904d4b5b66ff3460647eba.tar.gz
liveslak-0f832ff604283fdf61904d4b5b66ff3460647eba.tar.xz
Fix fontconfig.
Diffstat (limited to 'make_slackware_live.sh')
-rwxr-xr-xmake_slackware_live.sh8
1 files changed, 4 insertions, 4 deletions
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 <<EOCR
/sbin/ldconfig
EOCR
-chroot "${LIVE_ROOTDIR}" /bin/bash <<EOCR
+chroot ${LIVE_ROOTDIR} /bin/bash <<EOCR
# Update the desktop database:
if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database /usr/share/applications > /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