File: clang.postinst

package info (click to toggle)
llvm-defaults 0.63
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 156 kB
  • sloc: makefile: 354; sh: 46
file content (32 lines) | stat: -rw-r--r-- 416 bytes parent folder | download | duplicates (7)
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
32
#! /bin/sh
set -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