convert-dirs/bin/uninstall.sh

13 lines
287 B
Bash
Executable file

#!/bin/bash
set -euo pipefail
INSTALL_PATH="/usr/local/bin/convert_dirs"
if [[ ! -f "$INSTALL_PATH" ]]; then
echo "$INSTALL_PATH not found. Nothing to uninstall."
exit 1
fi
echo "🗑️ Removing $INSTALL_PATH ..."
sudo rm "$INSTALL_PATH"
echo "✅ Uninstalled successfully."