Skip to content

Instantly share code, notes, and snippets.

@tyler274
tyler274 / update-alternatives-clang.sh
Last active September 29, 2021 22:34 — forked from junkdog/update-alternatives-clang.sh
you actually do need those "superfluous" shims
#!/usr/bin/env bash
# --slave /usr/bin/$1 $1 /usr/bin/$1-\${version} \\
function register_clang_version {
local version=$1
local priority=$2
update-alternatives \
--verbose \