HEX
Server: Apache
System: Linux WWW 6.1.0-40-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.153-1 (2025-09-20) x86_64
User: web11 (1011)
PHP: 8.2.29
Disabled: NONE
Upload Files
File: /var/lib/dpkg/info/libc6:amd64.postrm
#! /bin/sh
set -e

if [ "$1" = remove ]; then
    # When both the multiarch and the corresponding biarch packages are
    # installed, removing the multiarch package will remove the dynamic
    # linker. Recreate it in the postinst.
    ARCH=${DPKG_MAINTSCRIPT_ARCH}
    target=$(dpkg-query -L libc6-${ARCH} 2>/dev/null | grep -E '/lib.+/(ld\.so|ld-linux-x86-64.so.2)$' || true)
    if [ -f "$target" ] && ! [ -f /lib64/ld-linux-x86-64.so.2 ] ; then
        ln -sf ${target#/lib64/} /lib64/ld-linux-x86-64.so.2
    fi
fi

if [ "$1" = deconfigure ]; then
    :; # blah, do something useful with ldso
fi

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


exit 0