triggers/x11-fonts: make this really work.
--HG-- extra : convert_revision : ec52c0fa2fdfbbc67f57358e1a6293fdcea91ab4
This commit is contained in:
parent
9635876fa6
commit
2df068741c
1 changed files with 5 additions and 2 deletions
|
@ -9,6 +9,9 @@
|
||||||
#
|
#
|
||||||
trigger="x11-fonts"
|
trigger="x11-fonts"
|
||||||
|
|
||||||
|
mkfontdir=./usr/bin/mkfontdir
|
||||||
|
mkfontscale=./usr/bin/mkfontscale
|
||||||
|
|
||||||
case "$1" in
|
case "$1" in
|
||||||
targets)
|
targets)
|
||||||
echo "post-install pre-remove"
|
echo "post-install pre-remove"
|
||||||
|
@ -26,9 +29,9 @@ run)
|
||||||
post-install)
|
post-install)
|
||||||
for dir in ${font_dirs}; do
|
for dir in ${font_dirs}; do
|
||||||
echo "Building ${dir}/fonts.dir..."
|
echo "Building ${dir}/fonts.dir..."
|
||||||
mkfontdir .${dir} || exit $?
|
${mkfontdir} .${dir} || exit $?
|
||||||
echo "Building ${dir}/fonts.scale..."
|
echo "Building ${dir}/fonts.scale..."
|
||||||
mkfontscale .${dir} || exit $?
|
${mkfontscale} .${dir} || exit $?
|
||||||
done
|
done
|
||||||
;;
|
;;
|
||||||
pre-remove)
|
pre-remove)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue