Skip to content

Commit

Permalink
updated install script
Browse files Browse the repository at this point in the history
Signed-off-by: bishal7679 <bishalhnj127@gmail.com>
  • Loading branch information
bishal7679 committed May 14, 2023
1 parent 8f93c5d commit cbedf92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ sudo wget -q https://github.com/bishal7679/ksapify/releases/download/v${RELEASE_
sudo wget https://github.com/bishal7679/ksapify/releases/download/v${RELEASE_VERSION}/ksapify_${RELEASE_VERSION}_${OS}_${ARCH}.tar.gz

file=$(sha256sum ksapify_${RELEASE_VERSION}_${OS}_${ARCH}.tar.gz | awk '{print $1}')
checksum=$(cat ksapify_${RELEASE_VERSION}_checksums.txt | grep ksctl_${RELEASE_VERSION}_${OS}_${ARCH}.tar.gz | awk '{print $1}')
checksum=$(cat ksapify_${RELEASE_VERSION}_checksums.txt | grep ksapify_${RELEASE_VERSION}_${OS}_${ARCH}.tar.gz | awk '{print $1}')

if [[ $file != $checksum ]]; then
echo -e "${Red}Checksum didn't matched!${NoColor}"
Expand Down

0 comments on commit cbedf92

Please sign in to comment.