Browse Source

added quotes to if check

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

2
reinstall-magisk-on-lineageos

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

Loading…
Cancel
Save