sh-elf-gcc/uninstall.sh
2021-01-02 00:13:11 +01:00

14 lines
259 B
Bash
Executable file

#! /usr/bin/env bash
source util.sh
PREFIX="$1"
# Remove symlinks
echo "$TAG Removing symlinks to binaries..."
for x in bin/*; do
rm "$PREFIX/$x"
done
# Remove local files
echo "$TAG Removing installed files..."
rm -rf bin/ include/ lib/ libexec/ share/