From 828ee1b2591baba10012f10939a03dae0680e944 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Tue, 14 Feb 2023 20:33:14 +0100 Subject: [PATCH] Update install --- scripts/install | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/scripts/install b/scripts/install index ac4a58b..b85105c 100644 --- a/scripts/install +++ b/scripts/install @@ -111,14 +111,10 @@ mkdir -p "$final_path" chown -R $app:www-data "$final_path" # Download, check integrity, uncompress and patch the source from GitHub -#ynh_exec_as $app -git clone https://github.com/iv-org/invidious "$final_path" --quiet - -#ynh_exec_as $app -git config --global --add safe.directory +ynh_exec_as $app git clone https://github.com/iv-org/invidious "$final_path" --quiet pushd "$final_path" - git reset --hard --quiet $version_commit + ynh_exec_as $app git reset --hard --quiet $version_commit popd for i in $final_path/config/sql/*.sql ; do