triggers/x11-fonts: make this really work.
--HG-- extra : convert_revision : ec52c0fa2fdfbbc67f57358e1a6293fdcea91ab4
This commit is contained in:
parent
9635876fa6
commit
2df068741c
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user