HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux spn-python 5.15.0-89-generic #99-Ubuntu SMP Mon Oct 30 20:42:41 UTC 2023 x86_64
User: arjun (1000)
PHP: 8.1.2-1ubuntu2.20
Disabled: NONE
Upload Files
File: //var/lib/dpkg/info/libdebuginfod-common.postrm
#!/bin/bash

set -e

case "$1" in
    purge)
	for ext in sh csh; do
	    if [ -f /etc/profile.d/debuginfod."${ext}" ]; then
		if which ucf > /dev/null; then
		    ucf --purge /etc/profile.d/debuginfod."${ext}"
		fi
		if which ucfr > /dev/null; then
		    ucfr --purge libdebuginfod-common /etc/profile.d/debuginfod."${ext}"
		fi
		rm -f /etc/profile.d/debuginfod."${ext}"
	    fi
	done
	;;

    remove)
	:
	;;

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

    *)
        echo "postrm called with unknown argument \`$1'" >&2
        exit 1
	;;
esac

# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.

# Automatically added by dh_installdebconf/13.6ubuntu1
if [ "$1" = purge ] && [ -e /usr/share/debconf/confmodule ]; then
	. /usr/share/debconf/confmodule
	db_purge
fi
# End automatically added section


exit 0