HEX
Server: LiteSpeed
System: Linux php-prod-1.spaceapp.ru 5.15.0-157-generic #167-Ubuntu SMP Wed Sep 17 21:35:53 UTC 2025 x86_64
User: xnsbb3110 (1041)
PHP: 8.1.33
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