Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#1754 - please update your cheapskate fonts package .install file
Attached to Project:
Arch Linux
Opened by Tobias Powalowski (tpowa) - Sunday, 07 November 2004, 08:57 GMT
Last edited by Tobias Powalowski (tpowa) - Sunday, 07 November 2004, 15:59 GMT
Opened by Tobias Powalowski (tpowa) - Sunday, 07 November 2004, 08:57 GMT
Last edited by Tobias Powalowski (tpowa) - Sunday, 07 November 2004, 15:59 GMT
|
Detailshi
please change your .install file that it includes this then fonts will be updated dynamically see at this bug: http://bugs.archlinux.org/index.php?do=details&id=1720 |
This task depends upon
Closed by Damir Perisa (damir.perisa)
Tuesday, 09 November 2004, 14:34 GMT
Reason for closing: Fixed
Tuesday, 09 November 2004, 14:34 GMT
Reason for closing: Fixed
and it has to be a post_remove not a pre_remove
her the correct commands:
# arg 1: the new package version
post_install() {
echo -n "updating font cache... "
/sbin/ldconfig -r .
/usr/bin/fc-cache
cd /usr/X11R6/lib/X11/fonts/TTF
/usr/X11R6/bin/mkfontscale
/usr/X11R6/bin/mkfontdir
cp ../encodings/encodings.dir ./encodings.dir
echo "done."
}
# arg 1: the new package version
# arg 2: the old package version
post_upgrade() {
post_install $1
}
# arg 1: the old package version
post_remove() {
/usr/bin/fc-cache
cd /usr/X11R6/lib/X11/fonts/TTF
/usr/X11R6/bin/mkfontscale
/usr/X11R6/bin/mkfontdir
cp ../encodings/encodings.dir ./encodings.dir
}
op=$1
shift
$op $*