HEX
Server: Apache
System: Linux 4485441ca2e2 6.8.0-1039-aws #41~22.04.1-Ubuntu SMP Thu Sep 11 11:03:07 UTC 2025 aarch64
User: (1000)
PHP: 8.2.24
Disabled: NONE
Upload Files
File: /var/lib/dpkg/info/libc6:arm64.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-aarch64.so.1)$' || true)
    if [ -f "$target" ] && ! [ -f /lib/ld-linux-aarch64.so.1 ] ; then
        ln -sf ${target#/lib/} /lib/ld-linux-aarch64.so.1
    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