summaryrefslogtreecommitdiff
path: root/libre/texlive-latexextra/texlive.install
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2016-08-08 07:12:20 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2016-08-08 07:12:20 -0300
commit76581df22bfb48e87a34c89a2cb2a8e38ff3f99c (patch)
tree75b99dffb37a903e96bbd63e8a15de0a418bd52f /libre/texlive-latexextra/texlive.install
parentc937ed2759bc34eba653c84f4d80cd8394776831 (diff)
downloadabslibre-76581df22bfb48e87a34c89a2cb2a8e38ff3f99c.tar.gz
abslibre-76581df22bfb48e87a34c89a2cb2a8e38ff3f99c.tar.bz2
abslibre-76581df22bfb48e87a34c89a2cb2a8e38ff3f99c.zip
texlive-latexextra-2016.41473-2.parabola1: updating version
Diffstat (limited to 'libre/texlive-latexextra/texlive.install')
-rw-r--r--libre/texlive-latexextra/texlive.install52
1 files changed, 0 insertions, 52 deletions
diff --git a/libre/texlive-latexextra/texlive.install b/libre/texlive-latexextra/texlive.install
deleted file mode 100644
index befc29143..000000000
--- a/libre/texlive-latexextra/texlive.install
+++ /dev/null
@@ -1,52 +0,0 @@
-PKGNAME="texlive-latexextra"
-UPDMAP="etc/texmf/web2c/updmap.cfg"
-UPDMAPLOCAL="etc/texmf/web2c/updmap-local.cfg"
-SYNCWITHTREES=''
-
-MAPFILE="var/lib/texmf/arch/installedpkgs/$PKGNAME.maps"
-
-post_install() {
- TMPFILE=`mktemp`
- echo ">>> texlive: saving updmap.cfg as $TMPFILE..."
- cp "$UPDMAP" "$TMPFILE"
- echo ">>> texlive: regenerating updmap.cfg (custom additions should go"
- echo " into /etc/texmf/web2c/updmap-local.cfg"
- cp usr/share/texmf-dist/web2c/updmap-hdr.cfg $UPDMAP
- cat var/lib/texmf/arch/installedpkgs/*.maps >> $UPDMAP
- [ -f "$UPDMAPLOCAL" ] && cat "$UPDMAPLOCAL" >> $UPDMAP
- echo ">>> texlive: updating the filename database..."
- usr/bin/mktexlsr
- echo ">>> texlive: updating the fontmap files with updmap..."
- usr/bin/updmap-sys --quiet --nohash
- echo " done."
-}
-
-post_upgrade() {
- TMPFILE=`mktemp`
- echo ">>> texlive: saving updmap.cfg as $TMPFILE..."
- cp "$UPDMAP" "$TMPFILE"
- echo ">>> texlive: regenerating updmap.cfg (custom additions should go"
- echo " into /etc/texmf/web2c/updmap-local.cfg"
- cp usr/share/texmf-dist/web2c/updmap-hdr.cfg $UPDMAP
- cat var/lib/texmf/arch/installedpkgs/*.maps >> $UPDMAP
- [ -f "$UPDMAPLOCAL" ] && cat "$UPDMAPLOCAL" >> $UPDMAP
- echo ">>> texlive: updating the filename database..."
- usr/bin/mktexlsr
- echo ">>> texlive: updating the fontmap files with updmap..."
- usr/bin/updmap-sys --quiet --nohash $SYNCWITHTREES
- echo " done."
-}
-
-pre_remove() {
-for m in `cut -d' ' -f2 $MAPFILE`; do
- sed -i "/\s$m/d" $UPDMAP ;
-done
-}
-
-post_remove() {
- echo ">>> texlive: updating the filename database..."
- usr/bin/mktexlsr
- echo ">>> texlive: updating the fontmap files with updmap..."
- usr/bin/updmap-sys --quiet --nohash
- echo " done."
-}