summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2007-05-12 18:40:10 +0000
committer Eric Hameleers <alien@slackware.com>2007-05-12 18:40:10 +0000
commitdc6854a98925137d561ab03fdec368cc569f2a64 (patch)
treeaf575299ffd9767a5a9890d0f7bb5c52faad2bce
parent31aa092f5a628cabe396f25f312c4e2a4b3322cf (diff)
downloadasb-dc6854a98925137d561ab03fdec368cc569f2a64.tar.gz
asb-dc6854a98925137d561ab03fdec368cc569f2a64.tar.xz
Corrected the bug that crept into doinst.sh
-rwxr-xr-xliberation-fonts/build/liberation-fonts.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/liberation-fonts/build/liberation-fonts.SlackBuild b/liberation-fonts/build/liberation-fonts.SlackBuild
index d2785a04..7f96cb56 100755
--- a/liberation-fonts/build/liberation-fonts.SlackBuild
+++ b/liberation-fonts/build/liberation-fonts.SlackBuild
@@ -140,11 +140,11 @@ mkdir -p $PKG/install
cat <<-EOT > $PKG/install/doinst.sh
# Update X font indexes and the font cache:
if [ -x .$XPREF/bin/mkfontdir ]; then
- .$XPREF/bin/mkfontscale ./usr/share/fonts/TTF
- .$XPREF/bin/mkfontdir ./usr/share/fonts/TTF
+ .$XPREF/bin/mkfontscale .$FONTDIR
+ .$XPREF/bin/mkfontdir .$FONTDIR
fi
if [ -x .$XPREF/bin/fc-cache ]; then
- .$XPREF/bin/fc-cache ./usr/share/fonts/TTF
+ .$XPREF/bin/fc-cache .$FONTDIR
fi
EOT