2020-12-30 23:03:15 +01:00
|
|
|
#! /usr/bin/env bash
|
|
|
|
|
2021-01-02 00:13:11 +01:00
|
|
|
source util.sh
|
|
|
|
PREFIX="$1"
|
2020-12-30 23:03:15 +01:00
|
|
|
|
2021-01-02 00:13:11 +01:00
|
|
|
# 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/
|