19 lines
380 B
Bash
19 lines
380 B
Bash
#!/usr/bin/env bash
|
|
# VoidLibC macOS uninstaller. Reverses install.sh.
|
|
|
|
set -euo pipefail
|
|
|
|
INSTALL_BIN="${INSTALL_BIN:-/usr/local/bin}"
|
|
|
|
for f in "${INSTALL_BIN}/voidlink" "${INSTALL_BIN}/voidloader"; do
|
|
if [[ -f "$f" ]]; then
|
|
echo "Removing $f"
|
|
rm -f "$f"
|
|
else
|
|
echo "(not found: $f — skipping)"
|
|
fi
|
|
done
|
|
|
|
echo ""
|
|
echo "VoidLibC uninstalled."
|