summaryrefslogtreecommitdiff
path: root/libre/texlive-bin-libre/texlive.install
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@lavabit.com>2013-08-06 07:35:38 -0300
committerAndré Fabian Silva Delgado <emulatorman@lavabit.com>2013-08-06 07:35:38 -0300
commit502690a5c1c79b1fb9df696ca511f0b5934b9275 (patch)
treec5b6df06083e7e6a36af406a14bbfc21cc894308 /libre/texlive-bin-libre/texlive.install
parent7232ebf03772d0a7f1602a6032636c8df7f796c4 (diff)
downloadabslibre-502690a5c1c79b1fb9df696ca511f0b5934b9275.tar.gz
abslibre-502690a5c1c79b1fb9df696ca511f0b5934b9275.tar.bz2
abslibre-502690a5c1c79b1fb9df696ca511f0b5934b9275.zip
texlive-bin-2013.30973-3: rebuild against poppler, and change name on package due which it will be repackaged as rebranding only
Diffstat (limited to 'libre/texlive-bin-libre/texlive.install')
-rw-r--r--libre/texlive-bin-libre/texlive.install50
1 files changed, 0 insertions, 50 deletions
diff --git a/libre/texlive-bin-libre/texlive.install b/libre/texlive-bin-libre/texlive.install
deleted file mode 100644
index 96a41bcfc..000000000
--- a/libre/texlive-bin-libre/texlive.install
+++ /dev/null
@@ -1,50 +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() {
- if [[ -f usr/bin/mktexlsr ]]; then
- echo ">>> texlive: updating the filename database..."
- usr/bin/mktexlsr
- fi
- if [[ -f usr/bin/fmtutil-sys ]]; then
- 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)"
- fi
- [[ -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
- if [[ -f usr/bin/mktexlsr ]]; then
- echo ">>> texlive: updating the filename database..."
- usr/bin/mktexlsr
- fi
- _pacout=$(pacman -Q texlive-core 2>/dev/null)
- read corename corever <<< ${_pacout}
- if [[ ${corever} == 2012* ]]; then
- if [[ -f usr/bin/fmtutil-sys ]]; 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)"
- fi
- 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
-}