From a1bb046744245628dbab331e4b07d3d66ef0f921 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Sun, 13 Jun 2021 06:57:49 +0200 Subject: [PATCH] Revert "Update upgrade" This reverts commit f533eb02cb99848aadab99afeb3ee5134073fab4. --- scripts/upgrade | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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