summaryrefslogtreecommitdiff
path: root/debian/clang-X.Y.postinst.in
blob: 64ae9fa6d7ca1baffa0e32a9c1d8e2e1520e543a (plain)
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