HEX
Server: Apache
System: Linux eisbus 6.8.12-9-pve #1 SMP PREEMPT_DYNAMIC PMX 6.8.12-9 (2025-03-16T19:18Z) x86_64
User: www-data (33)
PHP: 8.2.29
Disabled: NONE
Upload Files
File: /var/lib/dpkg/info/localepurge.prerm
#!/bin/sh

set -e

# Do the debhelper stuff immediately



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

if [ "$1" = "remove" ]; then
    # If we are being removed, then unconditionally remove the dpkg
    # config file we generated.
    if [ -f "$DPKG_CONFIG_FILE" ] ; then
        echo "localepurge: Disabling auto-generated config file."
        mv -f "$DPKG_CONFIG_FILE" "$DPKG_CONFIG_FILE.disabled"
    fi
fi