mirror of
https://github.com/Unimatrix0/update_ombi.git
synced 2025-08-20 13:24:20 -07:00
feat(updater): skip size verification for now
This commit is contained in:
parent
b9b040394a
commit
80d0c7bcf9
1 changed files with 7 additions and 7 deletions
|
@ -241,13 +241,13 @@ do
|
||||||
done
|
done
|
||||||
tempdir=$(mktemp -d)
|
tempdir=$(mktemp -d)
|
||||||
file="$tempdir/ombi_$version.tar.gz"
|
file="$tempdir/ombi_$version.tar.gz"
|
||||||
wget --quiet --show-progress -O $file "https://ci.appveyor.com/api/buildjobs/$jobId/artifacts/$filename"
|
wget --quiet --show-progress -O $file "https://github.com/Ombi-app/Ombi/releases/download/$latestversion/$filename"
|
||||||
.log 6 "Version $version downloaded...checking file size..."
|
#.log 6 "Version $version downloaded...checking file size..."
|
||||||
if [ "$(wc -c < $file)" != $size ]; then
|
#if [ "$(wc -c < $file)" != $size ]; then
|
||||||
.log 3 "Downloaded file size does not match expected file size...bailing!"
|
# .log 3 "Downloaded file size does not match expected file size...bailing!"
|
||||||
exit 2
|
# exit 2
|
||||||
fi
|
#fi
|
||||||
.log 6 "File size validated...checking Ombi service status..."
|
.log 6 "Checking Ombi service status..."
|
||||||
|
|
||||||
declare -i running=0
|
declare -i running=0
|
||||||
if [ "`systemctl is-active $ombiservicename`" == "active" ]; then
|
if [ "`systemctl is-active $ombiservicename`" == "active" ]; then
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue