HEX
Server: Apache/2.4.62 (Debian)
System: Linux MIA-VPS-VM01781 5.10.0-32-amd64 #1 SMP Debian 5.10.223-1 (2024-08-10) x86_64
User: webmaster (1001)
PHP: 8.2.29
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: /var/lib/dpkg/info/localepurge.postrm
#!/bin/sh

set -e

DPKG_CONFIG_FILE=/etc/dpkg/dpkg.cfg.d/50localepurge

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


if [ "$1" = purge ] && [ -e /usr/share/debconf/confmodule ]; then
    . /usr/share/debconf/confmodule
    db_purge
    rm -rf /var/cache/localepurge
    rm -f /etc/locale.nopurge
    if which ucf >/dev/null 2>&1 ; then
        ucf --debconf-ok --purge /etc/locale.nopurge
    else
        echo >&2 "/etc/locale.nopurge could not be purged because ucf was not found."
    fi
    if which ucfr >/dev/null 2>&1 ; then
        ucfr --purge localepurge /etc/locale.nopurge
    fi
    if [ -f "$DPKG_CONFIG_FILE.disabled" ] ; then
        echo "localepurge: Removing disabled auto-generated config file."
        rm -f "$DPKG_CONFIG_FILE.disabled"
    fi
    if [ -f "$DPKG_CONFIG_FILE" ] ; then
        echo "localepurge: Removing auto-generated config file."
        rm -f "$DPKG_CONFIG_FILE"
    fi
echo
echo "  To reinstall all the packages which localepurge has been taking care"
echo "  of before, you can use the following command:"
echo
echo "    apt-get -u --reinstall --fix-missing install \$(dpkg -S LC_MESSAGES | cut -d: -f1 | tr ', ' '\\\n' | sort -u)"
echo
fi