|
|
@ -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() { |
|
|
|