|
|
@ -50,7 +50,7 @@ get_build_url() { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
check_exists_latest_lineageos_build() { |
|
|
|
check_exists_latest_lineageos_build() { |
|
|
|
if [[ -f /tmp/lineageos.zip ]]; then |
|
|
|
if [[ -f "/tmp/lineageos.zip" ]]; then |
|
|
|
# The --location lets curl follow the redirection. |
|
|
|
# The --location lets curl follow the redirection. |
|
|
|
print_message "$(get_build_url)?sha256" |
|
|
|
print_message "$(get_build_url)?sha256" |
|
|
|
curl --location "$(get_build_url)?sha256" --output /tmp/lineageos.sha256 |
|
|
|
curl --location "$(get_build_url)?sha256" --output /tmp/lineageos.sha256 |
|
|
|