summaryrefslogtreecommitdiff
path: root/extra/texlive-bin/texlive.install
diff options
context:
space:
mode:
Diffstat (limited to 'extra/texlive-bin/texlive.install')
-rw-r--r--extra/texlive-bin/texlive.install43
1 files changed, 0 insertions, 43 deletions
diff --git a/extra/texlive-bin/texlive.install b/extra/texlive-bin/texlive.install
deleted file mode 100644
index 06a40a3b3..000000000
--- a/extra/texlive-bin/texlive.install
+++ /dev/null
@@ -1,43 +0,0 @@
-infodir=usr/share/info
-filelist=(dvipng.info dvips.info eplain.info epspdf.info fontname.info kpathsea.info latex2e-es.info latex2e.info latex2man.info mf2pt1.info tds.info texdraw.info web2c.info)
-
-post_install() {
- echo ">>> texlive: updating the filename database..."
- usr/bin/mktexlsr
- echo -n "creating all formats..."
- usr/bin/fmtutil-sys --all 1>/dev/null
- echo " done."
- echo " (logs are under /var/lib/texmf/web2c/<engine>/<formatname>.log)"
-
- [[ -x usr/bin/install-info ]] || return 0
- for file in "${filelist[@]}"; do
- install-info "$infodir/$file.gz" "$infodir/dir" 2> /dev/null
- done
-}
-
-post_upgrade() {
- local corename corever _pacout
- echo ">>> texlive: updating the filename database..."
- usr/bin/mktexlsr
- _pacout=$(pacman -Q texlive-core 2>/dev/null)
- read corename corever <<< ${_pacout}
- if [[ ${corever} == 2012* ]]; then
- echo -n "recreating all formats..."
- usr/bin/fmtutil-sys --all 1>/dev/null
- echo " done."
- echo " (logs are under /var/lib/texmf/web2c/<engine>/<formatname>.log)"
- else
- echo "WARNING: not recreating formats since texlive-core has version '$corever'"
- fi
- [[ -x usr/bin/install-info ]] || return 0
- for file in "${filelist[@]}"; do
- install-info "$infodir/$file.gz" "$infodir/dir" 2> /dev/null
- done
-}
-
-pre_remove() {
- [[ -x usr/bin/install-info ]] || return 0
- for file in "${filelist[@]}"; do
- install-info --delete "$infodir/$file.gz" "$infodir/dir" 2> /dev/null
- done
-}