summaryrefslogtreecommitdiff
path: root/data/llvm-clang/_metadata/postinst
diff options
context:
space:
mode:
authorSam Bingner <sam@bingner.com>2019-05-24 14:22:09 -1000
committerSam Bingner <sam@bingner.com>2019-05-24 14:22:09 -1000
commitec14021d3b05e0273fa751ccb320efe581a12803 (patch)
tree8844dfe24b6b69df9955285541de0eeb32b995c9 /data/llvm-clang/_metadata/postinst
parent3164aa78c4baa314ae042f720b65195784efdc40 (diff)
Make mig happy
Diffstat (limited to 'data/llvm-clang/_metadata/postinst')
-rwxr-xr-xdata/llvm-clang/_metadata/postinst2
1 files changed, 2 insertions, 0 deletions
diff --git a/data/llvm-clang/_metadata/postinst b/data/llvm-clang/_metadata/postinst
index bebc210cd..c2ae4f7a9 100755
--- a/data/llvm-clang/_metadata/postinst
+++ b/data/llvm-clang/_metadata/postinst
@@ -6,8 +6,10 @@ case "$1" in
for prog in ${LLVMPROGS}; do
update-alternatives --quiet --install /usr/bin/${prog} ${prog} /usr/bin/llvm-${prog} 50
done
+ update-alternatives --quiet --install /usr/bin/cc cc /usr/bin/clang 50
update-alternatives --quiet --install /usr/bin/gcc gcc /usr/bin/clang 50
update-alternatives --quiet --install /usr/bin/cpp cpp /usr/bin/clang-cpp 50
+ update-alternatives --quiet --install /usr/bin/c++ c++ /usr/bin/clang++ 50
update-alternatives --quiet --install /usr/bin/g++ g++ /usr/bin/clang++ 50
;;