fix check build archive exists logic
This commit is contained in:
parent
3d15d5369b
commit
d5e49e686c
@ -57,8 +57,9 @@ check_exists_latest_lineageos_build() {
|
|||||||
hash1=$( awk '{print $1}' /tmp/lineageos.sha256 )
|
hash1=$( awk '{print $1}' /tmp/lineageos.sha256 )
|
||||||
hash2=$( sha256sum /tmp/lineageos.zip | awk '{print $1}' )
|
hash2=$( sha256sum /tmp/lineageos.zip | awk '{print $1}' )
|
||||||
[[ -n $hash1 && -n $hash2 && $hash1 == $hash2 ]]
|
[[ -n $hash1 && -n $hash2 && $hash1 == $hash2 ]]
|
||||||
fi
|
|
||||||
return
|
return
|
||||||
|
fi
|
||||||
|
false
|
||||||
}
|
}
|
||||||
|
|
||||||
download_latest_lineageos_build() {
|
download_latest_lineageos_build() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user