triggers/x11-fonts: make this really work.

--HG--
extra : convert_revision : ec52c0fa2fdfbbc67f57358e1a6293fdcea91ab4
This commit is contained in:
Juan RP 2009-03-23 17:39:24 +01:00
parent 9635876fa6
commit 2df068741c

View File

@ -9,6 +9,9 @@
#
trigger="x11-fonts"
mkfontdir=./usr/bin/mkfontdir
mkfontscale=./usr/bin/mkfontscale
case "$1" in
targets)
echo "post-install pre-remove"
@ -26,9 +29,9 @@ run)
post-install)
for dir in ${font_dirs}; do
echo "Building ${dir}/fonts.dir..."
mkfontdir .${dir} || exit $?
${mkfontdir} .${dir} || exit $?
echo "Building ${dir}/fonts.scale..."
mkfontscale .${dir} || exit $?
${mkfontscale} .${dir} || exit $?
done
;;
pre-remove)