File: clang.postinst

package info (click to toggle)
llvm-defaults 0.25
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 80 kB
  • ctags: 29
  • sloc: makefile: 183; sh: 45
file content (31 lines) | stat: -rw-r--r-- 412 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#! /bin/sh -e

prio=10

update-alternatives --quiet \
	--install /usr/bin/c++ \
		c++ \
		/usr/bin/clang++ \
		$prio

update-alternatives --quiet \
	--install /usr/bin/cc \
		cc \
		/usr/bin/clang \
		$prio

update-alternatives --quiet \
	--install /usr/bin/c89 \
		c89 \
		/usr/bin/clang \
		$prio

update-alternatives --quiet \
	--install /usr/bin/c99 \
		c99 \
		/usr/bin/clang \
		$prio

#DEBHELPER#

exit 0