summaryrefslogtreecommitdiff
path: root/data/llvm-clang/_metadata/prerm
diff options
context:
space:
mode:
Diffstat (limited to 'data/llvm-clang/_metadata/prerm')
-rwxr-xr-xdata/llvm-clang/_metadata/prerm2
1 files changed, 2 insertions, 0 deletions
diff --git a/data/llvm-clang/_metadata/prerm b/data/llvm-clang/_metadata/prerm
index 119c2de8f..b3783cb23 100755
--- a/data/llvm-clang/_metadata/prerm
+++ b/data/llvm-clang/_metadata/prerm
@@ -5,8 +5,10 @@ case "$1" in
for prog in ${LLVMPROGS}; do
update-alternatives --quiet --remove ${prog} /usr/bin/llvm-${prog}
done
+ update-alternatives --quiet --remove cc /usr/bin/clang
update-alternatives --quiet --remove gcc /usr/bin/clang
update-alternatives --quiet --remove cpp /usr/bin/clang-cpp
+ update-alternatives --quiet --remove c++ /usr/bin/clang++
update-alternatives --quiet --remove g++ /usr/bin/clang++
;;
upgrade)