0xV3NOMx
Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64



Your IP : 18.191.14.104


Current Path : /proc/thread-self/root/var/lib/dpkg/info/
Upload File :
Current File : //proc/thread-self/root/var/lib/dpkg/info/sgml-base.prerm

#!/bin/sh
## ----------------------------------------------------------------------
## debian/prerm : preremoval script for sgml-base
## ----------------------------------------------------------------------

## ----------------------------------------------------------------------
set -e

## ----------------------------------------------------------------------
if [ "$1" = "remove" ] || [ "$1" = "upgrade" ]
then

    ## ------------------------------------------------------------------
    TRANSCAT=/etc/sgml/transitional.cat
    if [ -f ${TRANSCAT} ]
    then
	rm -f ${TRANSCAT} ${TRANSCAT}.old
	update-catalog --update-super
    fi

fi

## ---------------------------------------------------------------------- 
## automatically generated debhelper commands
# Automatically added by dh_usrlocal
(
	while read dir; do
		rmdir "$dir" 2>/dev/null || true
	done
) << DATA
/usr/local/share/sgml/stylesheet
/usr/local/share/sgml/misc
/usr/local/share/sgml/entities
/usr/local/share/sgml/dtd
/usr/local/share/sgml/declaration
/usr/local/share/sgml
DATA
# End automatically added section


exit 0

## ----------------------------------------------------------------------