From 1f7486e9138e916d8720ebba32d07466f2516a93 Mon Sep 17 00:00:00 2001 From: h-banii Date: Wed, 31 Jan 2024 23:20:36 -0300 Subject: [PATCH] fix(scripts): wrong variable names on rpm install --- scripts/install | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/install b/scripts/install index 1083c00a..3b78acbd 100755 --- a/scripts/install +++ b/scripts/install @@ -180,7 +180,7 @@ install_rpm() { esac RPM_NAME="${FILE_BASENAME}-${VERSION}.${ARCH}.rpm" - RPM_FILE="$TMPDIR/$DEB_NAME" + RPM_FILE="$TMPDIR/$RPM_NAME" export RPM_FILE RPM_NAME @@ -188,7 +188,7 @@ install_rpm() { cd "$TMPDIR" info "Downloading $RPM_NAME" - download "$DEB_FILE" "$RELEASES_URL/download/$TAG/$RPM_NAME" + download "$RPM_FILE" "$RELEASES_URL/download/$TAG/$RPM_NAME" info "Downloading checksums" download "checksums.txt" "$RELEASES_URL/download/$TAG/checksums.txt"