File: gcc-BV-hppa64.postinst

package info (click to toggle)
gcc-4.8 4.8.4-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 587,180 kB
  • ctags: 425
  • sloc: makefile: 65,711; sh: 1,248; perl: 165; awk: 23; cpp: 14
file content (15 lines) | stat: -rw-r--r-- 268 bytes parent folder | download | duplicates (12)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#! /bin/sh -e

prio=$(echo @BV@ | sed 's/\.//g')

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#

exit 0