AlaK4X
Linux lhjmq-records 5.15.0-118-generic #128-Ubuntu SMP Fri Jul 5 09:28:59 UTC 2024 x86_64



Your IP : 52.14.148.63


Current Path : /var/lib/dpkg/info/
Upload File :
Current File : /var/lib/dpkg/info/klibc-utils.postinst

#!/bin/sh

set -e

if [ ! -L /usr/share/doc/klibc-utils ] && \
[ -e /usr/share/doc/klibc-utils ]; then
	rm -rf /usr/share/doc/klibc-utils
	cd /usr/share/doc/
	ln -sf libklibc /usr/share/doc/klibc-utils
fi

# Remove diversion which was used during upgrades to stretch.
# This command can be removed after the buster release.
if dpkg --compare-versions "$2" lt 2.0.4-12~; then
    dpkg-divert --package klibc-utils --remove --rename \
		--divert /usr/share/initramfs-tools/hooks/klibc^i-t \
		/usr/share/initramfs-tools/hooks/klibc
fi