summaryrefslogtreecommitdiff
path: root/debian/binutils-multiarch.postrm.in
diff options
context:
space:
mode:
Diffstat (limited to 'debian/binutils-multiarch.postrm.in')
-rw-r--r--debian/binutils-multiarch.postrm.in8
1 files changed, 3 insertions, 5 deletions
diff --git a/debian/binutils-multiarch.postrm.in b/debian/binutils-multiarch.postrm.in
index 9c57ec2..7b94385 100644
--- a/debian/binutils-multiarch.postrm.in
+++ b/debian/binutils-multiarch.postrm.in
@@ -1,6 +1,8 @@
#! /bin/sh
set -e
this_ver=@DEB_VER@; # this version
+ma=@DEB_MULTIARCH@
+triplet=@DEB_TRIPLET@
# action: upgrade, abort-upgrade, remove, abort-install, disappear,
# purge, or failed-upgrade.
context=$1
@@ -41,9 +43,5 @@ diversion() {
for prog in nm objdump objcopy strings strip size \
ar ranlib addr2line gprof readelf
do
- diversion 2.9.5.0.16-1 "/usr/bin/$prog"
+ diversion 2.27-8 "/usr/bin/$triplet-$prog"
done
-
-if [ "$1" = "remove" ]; then
- ldconfig
-fi