diff options
| author | ishaan <contact@ishaan.cc> | 2026-07-15 12:02:12 +0530 |
|---|---|---|
| committer | ishaan <contact@ishaan.cc> | 2026-07-15 12:02:12 +0530 |
| commit | 73ce0521c9e00f8f1a17569f4e500857792f095a (patch) | |
| tree | 5433f8c02efe941a16afd2b2df67b6c6fb9c561e /internal/scripts/uninstall.sh | |
| parent | f6b6dced2375d5ad5813059966a86797dee45670 (diff) | |
better releases page, add install and uninstall scripts
Diffstat (limited to 'internal/scripts/uninstall.sh')
| -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 |