Arch Linux

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!
Tasklist

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
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Damir Perisa (damir.perisa)
Architecture not specified
Severity Low
Priority Normal
Reported Version 0.7 Wombat
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

hi
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
Comment by Tobias Powalowski (tpowa) - Sunday, 07 November 2004, 20:18 GMT
hi please change it to that you forgot cp encoding
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 $*

Loading...