From 7455c8e11315f88e668b7ee65d5bdd6134430206 Mon Sep 17 00:00:00 2001 From: CatKun38 <124330624+DiamondGotCat@users.noreply.github.com> Date: Thu, 18 Apr 2024 18:01:17 +0900 Subject: [PATCH] stable-9.0.2 --- cateye.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/cateye.sh b/cateye.sh index 9125c4b..441facb 100644 --- a/cateye.sh +++ b/cateye.sh @@ -1,6 +1,6 @@ #!/bin/bash -cateyeversion="9.0.0" +cateyeversion="9.0.2" cateyechanges="Fixed a bug that caused the installation to continue even if there was a download error." # Extract command and package name from argument @@ -304,8 +304,9 @@ get_os() { get_latest_version() { local latest_version - latest_version=$(file_downloader "https://kamu.jp/files/version.html") || { echo "$contents" ; exit 1; } - echo "$latest_version" + latest_version=$(file_downloader "https://kamu.jp/files/version.html") || { echo "$contents" ; rm version.html ; exit 1; } + cat "version.html" + rm "version.html" } file_downloader() {