diff options
Diffstat (limited to 'internal/scripts')
| -rwxr-xr-x | internal/scripts/uninstall.sh | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/internal/scripts/uninstall.sh b/internal/scripts/uninstall.sh new file mode 100755 index 0000000..5c8baf7 --- /dev/null +++ b/internal/scripts/uninstall.sh @@ -0,0 +1,12 @@ +#!/usr/bin/env sh +set -e + +INSTALL_DIR="${INSTALL_DIR:-$HOME/.local/bin}" +BINARY="${INSTALL_DIR}/eno" + +if [ -f "$BINARY" ]; then + rm -f "$BINARY" + echo "removed $BINARY" +else + echo "eno not found at $BINARY" +fi |