HEX
Server: Apache
System: Linux vps37023 6.8.0-83-generic #83~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue Sep 9 18:19:47 UTC 2 x86_64
User: alternativsm (5771646)
PHP: 8.1.32
Disabled: NONE
Upload Files
File: //var/lib/dpkg/info/texlive-latex-base.postrm
#!/bin/sh
set -e
# Automatically added by dh_installdeb/13.5.2ubuntu1
dpkg-maintscript-helper rm_conffile /etc/texmf/fmt.d/10texlive-latex-base.cnf 2015.20150524-1\~ -- "$@"
# End automatically added section
# Automatically added by dh_installtex/1
##
## postrm-tex
##
## postrm snippets for unregistering maps, formats, hyphens
## and removing format dumps
##
## Authors:
##       Norbert Preining <preining@logic.at>
##
#

dhit_call_update_texmf_config ()
{
    if command -v update-texmf-config >/dev/null; then
        update-texmf-config $*
    else
        echo "update-texmf-config not present: is tex-common installed?" >&2
    fi
}

case "$1" in
    remove|disappear)
        dhit_call_update_texmf_config format map
        for fmt in dvilualatex latex luahbtex/lualatex lualatex luatex/dvilualatex mptopdf pdflatex pdftex/latex pdftex/mptopdf pdftex/pdflatex ; do
            rm -f /var/lib/texmf/web2c/$fmt.*
            dn=`dirname $fmt`
            if [ $dn != "." ] ; then
                if [ -d /var/lib/texmf/web2c/$dn ] ; then
                    rmdir --ignore-fail-on-non-empty /var/lib/texmf/web2c/$dn
                fi
            fi
        done
    ;;

    purge|upgrade|failed-upgrade|abort-upgrade|abort-install)
    ;;

esac

# End automatically added section