Browse Source

fix check build archive exists logic

dev-ivo
Ivo Oliveira Capanema 2 years ago
parent
commit
d5e49e686c
  1. 3
      reinstall-magisk-on-lineageos

3
reinstall-magisk-on-lineageos

@ -57,8 +57,9 @@ check_exists_latest_lineageos_build() {
hash1=$( awk '{print $1}' /tmp/lineageos.sha256 )
hash2=$( sha256sum /tmp/lineageos.zip | awk '{print $1}' )
[[ -n $hash1 && -n $hash2 && $hash1 == $hash2 ]]
return
fi
return
false
}
download_latest_lineageos_build() {

Loading…
Cancel
Save