14 lines
399 B
Bash
14 lines
399 B
Bash
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
if test "$1" = remove; then
|
|
# DEP17 P1 mitigation. Remove these diversions via postinst once trixie is released.
|
|
for lib in libhistory.so.8 libhistory.so.8.2 libreadline.so.8 libreadline.so.8.2; do
|
|
dpkg-divert --package libreadline8t64 --no-rename --divert "/lib/#DEB_HOST_MULTIARCH#/$lib.usr-is-merged" --remove "/lib/#DEB_HOST_MULTIARCH#/$lib"
|
|
done
|
|
fi
|
|
|
|
#DEBHELPER#
|
|
|
|
exit 0
|