diff --git a/scripts/upgrade b/scripts/upgrade index 83bdfe8..17a76f2 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -102,9 +102,9 @@ then cp -a "$final_path/config/config.yml" "$tmpdir/config.yml" # Remove the app directory securely - #ynh_secure_remove --file=$final_path + ynh_secure_remove --file=$final_path - git pull https://github.com/iv-org/invidious "$final_path" --quiet + git clone https://github.com/iv-org/invidious "$final_path" --quiet pushd "$final_path" || ynh_die shards update && shards install crystal build $final_path/src/invidious.cr --release