Skip to content

Commit

Permalink
🤔check releases_status
Browse files Browse the repository at this point in the history
  • Loading branch information
captain686 committed Jun 15, 2024
1 parent b2d03c6 commit 1d26969
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion check.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ releases_status=$(curl -sIL -w "%{http_code}" -o /dev/null https://github.com/c0

if [ -f "qbittorrent-nox_version" ];then
version=$(cat qbittorrent-nox_version)
if [ "$version" != "$last_version" ];then
if [ "$version" != "$last_version" ] && [ "$releases_status" == "200" ];then
echo $last_version > qbittorrent-nox_version
echo 'true'
fi
Expand Down

0 comments on commit 1d26969

Please sign in to comment.