diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2014-09-02 06:41:22 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2014-09-02 06:41:22 -0300 |
commit | fcce4e670cd2d81990b3f50e8a682b44d40a73cc (patch) | |
tree | 2634d6d68316f3f4dd51f378e826da884a919288 /libre/texlive-bin-parabola/texlive.install | |
parent | c5822ca785d156da9849d5e25dc79a93d1fac22d (diff) | |
download | abslibre-fcce4e670cd2d81990b3f50e8a682b44d40a73cc.tar.gz abslibre-fcce4e670cd2d81990b3f50e8a682b44d40a73cc.tar.bz2 abslibre-fcce4e670cd2d81990b3f50e8a682b44d40a73cc.zip |
remove parabola suffix and add complex pkgrel on the packages
Diffstat (limited to 'libre/texlive-bin-parabola/texlive.install')
-rw-r--r-- | libre/texlive-bin-parabola/texlive.install | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/libre/texlive-bin-parabola/texlive.install b/libre/texlive-bin-parabola/texlive.install deleted file mode 100644 index a2b86eb1f..000000000 --- a/libre/texlive-bin-parabola/texlive.install +++ /dev/null @@ -1,49 +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} - # only recreate formats if texlive-core has right version - if [[ ${corever} == 2014* ]]; 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 - 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 -} |