PKGBUILDs/community/texlive-latexextra-doc/texlive.install

39 lines
951 B
Text
Raw Normal View History

2009-10-10 02:15:33 +00:00
pre_install() {
cat >> /usr/share/texmf-config/web2c/updmap.cfg <<EOF
Map epiolmec.map
MixedMap esint.map
MixedMap manfnt.map
EOF
}
post_install() {
echo ">>> texlive: updating the filename database..."
texconfig-sys rehash
echo ">>> texlive: updating the fontmap files with updmap..."
updmap-sys --quiet --nohash
echo " done."
}
post_upgrade() {
echo ">>> texlive: updating the filename database..."
texconfig-sys rehash
echo ">>> texlive: updating the fontmap files with updmap..."
updmap-sys --quiet --nohash
echo " done."
}
pre_remove() {
MAPS="Map epiolmec.map
MixedMap esint.map
MixedMap manfnt.map"
for m in $MAPS; do sed -i "/^M.\+$m/d" /usr/share/texmf-config/web2c/updmap.cfg ; done
}
post_remove() {
echo ">>> texlive: updating the filename database..."
texconfig-sys rehash
echo ">>> texlive: updating the fontmap files with updmap..."
updmap-sys --quiet --nohash
echo " done."
}