From 3d15d5369b7c7923e4d5cc2615837a01cb45835d Mon Sep 17 00:00:00 2001 From: Ivo Capanema Date: Wed, 9 Nov 2022 21:22:13 -0300 Subject: [PATCH] added quotes to if check --- reinstall-magisk-on-lineageos | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reinstall-magisk-on-lineageos b/reinstall-magisk-on-lineageos index d3da336..e6364b1 100755 --- a/reinstall-magisk-on-lineageos +++ b/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