diff --git a/scripts/upgrade b/scripts/upgrade index aa5ac43..e31a779 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -101,7 +101,7 @@ then ynh_script_progression --message="Upgrading source files..." # Download, check integrity, uncompress and patch the source from app.src - if git -C "$final_path" rev-parse --is-inside-work-tree` >/dev/null 2>/dev/null + if git -C "$final_path" rev-parse --is-inside-work-tree >/dev/null 2>/dev/null then pushd "$final_path" git fetch