summaryrefslogtreecommitdiff
path: root/debian/gcc-BV-hppa64.postinst
diff options
context:
space:
mode:
Diffstat (limited to 'debian/gcc-BV-hppa64.postinst')
-rw-r--r--debian/gcc-BV-hppa64.postinst10
1 files changed, 6 insertions, 4 deletions
diff --git a/debian/gcc-BV-hppa64.postinst b/debian/gcc-BV-hppa64.postinst
index ed5d095..a70af39 100644
--- a/debian/gcc-BV-hppa64.postinst
+++ b/debian/gcc-BV-hppa64.postinst
@@ -2,11 +2,13 @@
prio=$(echo @BV@ | sed 's/\.//g')
-update-alternatives --quiet \
- --install /usr/bin/hppa64-linux-gnu-gcc \
- hppa64-linux-gnu-gcc \
- /usr/bin/hppa64-linux-gnu-gcc-@BV@ \
+for i in cpp gcc gcc-ar gcc-nm gcc-ranlib; do
+ update-alternatives --quiet \
+ --install /usr/bin/hppa64-linux-gnu-$i \
+ hppa64-linux-gnu-$i \
+ /usr/bin/hppa64-linux-gnu-$i-@BV@ \
$prio
+done
#DEBHELPER#