Apache/2.4.7 (Ubuntu) Linux sman1baleendah 3.13.0-24-generic #46-Ubuntu SMP Thu Apr 10 19:11:08 UTC 2014 x86_64 uid=33(www-data) gid=33(www-data) groups=33(www-data) safemode : OFF MySQL: ON | Perl: ON | cURL: OFF | WGet: ON > / var / lib / dpkg / info / | server ip : 104.21.89.46 your ip : 172.69.58.69 H O M E |
Filename | /var/lib/dpkg/info/libc6:amd64.postrm |
Size | 1.51 kb |
Permission | rwxr-xr-x |
Owner | root : root |
Create time | 27-Apr-2025 09:50 |
Last modified | 12-Apr-2014 18:38 |
Last accessed | 06-Jul-2025 22:08 |
Actions | edit | rename | delete | download (gzip) |
View | text | code | image |
#! /bin/sh
set -e
if [ "$1" = remove ]; then
if command -v suidunregister >/dev/null 2>&1 && [ -e /etc/suid.conf ]; then
if [ -x /usr/lib/pt_chown ]; then
suidunregister -s libc6 /usr/lib/pt_chown
elif [ -x /usr/libexec/pt_chown ]; then
suidunregister -s libc6 /usr/libexec/pt_chown
fi
fi
# 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:-$(dpkg --print-architecture)}
case "${ARCH}" in
kfreebsd-i386 | s390 | powerpc)
target="/lib32/ld.so.1"
;;
i386 | sparc)
target="/lib32/ld-linux.so.2"
;;
*)
target="$(dpkg-query -L libc6-${ARCH} 2>/dev/null | grep -E '/lib.*/ld-[0-9.]+\.so$' || true)"
;;
esac
if [ -f "$target" ] && ! [ -f /lib64/ld-linux-x86-64.so.2 ] ; then
ln -sf ${target#$(dirname /lib64/ld-linux-x86-64.so.2)/} /lib64/ld-linux-x86-64.so.2
fi
fi
if [ "$1" = deconfigure ]; then
:; # blah, do something useful with ldso
fi
#if [ "$1" = purge ]; then
# update-rc.d mountkernfs remove > /dev/null
#fi
# Automatically added by dh_installdebconf
if [ "$1" = purge ] && [ -e /usr/share/debconf/confmodule ]; then
. /usr/share/debconf/confmodule
db_purge
fi
# End automatically added section
# Automatically added by dh_makeshlibs
if [ "$1" = "remove" ]; then
ldconfig
fi
# End automatically added section
exit 0
set -e
if [ "$1" = remove ]; then
if command -v suidunregister >/dev/null 2>&1 && [ -e /etc/suid.conf ]; then
if [ -x /usr/lib/pt_chown ]; then
suidunregister -s libc6 /usr/lib/pt_chown
elif [ -x /usr/libexec/pt_chown ]; then
suidunregister -s libc6 /usr/libexec/pt_chown
fi
fi
# 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:-$(dpkg --print-architecture)}
case "${ARCH}" in
kfreebsd-i386 | s390 | powerpc)
target="/lib32/ld.so.1"
;;
i386 | sparc)
target="/lib32/ld-linux.so.2"
;;
*)
target="$(dpkg-query -L libc6-${ARCH} 2>/dev/null | grep -E '/lib.*/ld-[0-9.]+\.so$' || true)"
;;
esac
if [ -f "$target" ] && ! [ -f /lib64/ld-linux-x86-64.so.2 ] ; then
ln -sf ${target#$(dirname /lib64/ld-linux-x86-64.so.2)/} /lib64/ld-linux-x86-64.so.2
fi
fi
if [ "$1" = deconfigure ]; then
:; # blah, do something useful with ldso
fi
#if [ "$1" = purge ]; then
# update-rc.d mountkernfs remove > /dev/null
#fi
# Automatically added by dh_installdebconf
if [ "$1" = purge ] && [ -e /usr/share/debconf/confmodule ]; then
. /usr/share/debconf/confmodule
db_purge
fi
# End automatically added section
# Automatically added by dh_makeshlibs
if [ "$1" = "remove" ]; then
ldconfig
fi
# End automatically added section
exit 0