#!/bin/shset-e# Remove only the canonical farm. Extra names a local admin added with# `kache init --shims /usr/lib/kache` are left in place.case"$1"inremove|deconfigure)if[-d /usr/lib/kache ];thenfor name in cc c++ gcc g++ clang clang++ cargo;dopath="/usr/lib/kache/$name"if[-L"$path"];thenrm -f"$path"fidone# `kache init --shims` writes this marker next to the links.rm -f /usr/lib/kache/.kache-shimsrmdir /usr/lib/kache 2>/dev/null||truefi;;esacexit 0