Skip to content
This repository has been archived by the owner on Apr 23, 2024. It is now read-only.

Commit

Permalink
Merge pull request #9 from Kamu-JP/preview
Browse files Browse the repository at this point in the history
stable-9.0.2
  • Loading branch information
DiamondGotCat authored Apr 18, 2024
2 parents 83148e4 + 7455c8e commit a0b6186
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions cateye.sh
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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() {
Expand Down

0 comments on commit a0b6186

Please sign in to comment.