diff options
| author | ishaan <contact@ishaan.cc> | 2026-07-29 15:51:19 +0530 |
|---|---|---|
| committer | ishaan <contact@ishaan.cc> | 2026-07-29 15:51:19 +0530 |
| commit | cc4b5b69f1befe84551c0dbcb3df61eeea165cf7 (patch) | |
| tree | 3c8888f5048c8aeea787341abe0a6c0e9134408e | |
| parent | eaca307c38cc6511078323467ef8b9734886d288 (diff) | |
fix archive string in install
| -rwxr-xr-x | install.sh | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -52,7 +52,7 @@ if [ -n "$TAG" ]; then TMPDIR=$(mktemp -d) trap 'rm -rf "$TMPDIR"' EXIT - if curl -fsSL -o "$TMPDIR/eno.tar.gz" "$ARCHIVE_URL" && \ + if curl -fsSL -o "$TMPDIR/$ARCHIVE_NAME" "$ARCHIVE_URL" && \ curl -fsSL -o "$TMPDIR/checksums.txt" "$CHECKSUM_URL"; then CHK_TOOL=$(checksum_tool) @@ -67,7 +67,7 @@ if [ -n "$TAG" ]; then mkdir -p "$INSTALL_DIR" cd "$TMPDIR" - tar xzf eno.tar.gz + tar xzf "$ARCHIVE_NAME" BINARY=$(find . -name eno -type f | head -1) [ -z "$BINARY" ] && { echo "error: binary not found in archive" >&2; exit 1; } install -m 755 "$BINARY" "$INSTALL_DIR/eno" |