aboutsummaryrefslogtreecommitdiff
path: root/internal
diff options
context:
space:
mode:
Diffstat (limited to 'internal')
-rwxr-xr-xinternal/scripts/uninstall.sh12
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