Files
server/var/lib/dpkg/info/libc6-i386.postrm
2026-01-07 20:52:11 +01:00

21 lines
528 B
Bash
Executable File

#! /bin/sh
set -e
if [ "$1" = remove ]; then
# We manually installed this link in postinst if missing. It is also
# installed by the native multiarch package as a proper file. We have
# to remove it if we are the last package to provide it. Detect that
# situation by checking for a dangling link.
if [ -h /usr/lib/ld-linux.so.2 ] && [ ! -f /usr/lib/ld-linux.so.2 ]; then
rm /usr/lib/ld-linux.so.2
fi
fi
if [ "$1" = deconfigure ]; then
:; # blah, do something useful with ldso
fi
exit 0