From 4a1403b3976d02d4e3465ce278b2f89ca491ab1c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Thu, 2 May 2024 11:40:51 +0200 Subject: [PATCH] Update install --- scripts/install | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/scripts/install b/scripts/install index f3685b3..98ff55d 100644 --- a/scripts/install +++ b/scripts/install @@ -50,18 +50,6 @@ ynh_setup_source --dest_dir="$install_dir" chmod -R o-rwx "$install_dir" chown -R "$app:www-data" "$install_dir" -#================================================= -# SPECIFIC SETUP -#================================================= -# INSTALL INVIDIOUS -#================================================= -ynh_script_progression --message="Building Invidious.. (this will take some time and resources!)" --weight=60 - -pushd "$install_dir" - make - ./invidious --migrate -popd - #================================================= # MODIFY A CONFIG FILE #================================================= @@ -72,6 +60,18 @@ ynh_add_config --template="config.yml" --destination="$install_dir/config/config chmod 600 "$install_dir/config/config.yml" chown "$app:$app" "$install_dir/config/config.yml" +#================================================= +# SPECIFIC SETUP +#================================================= +# INSTALL INVIDIOUS +#================================================= +ynh_script_progression --message="Building Invidious... (this will take some time and resources!)" --weight=60 + +pushd "$install_dir" + make + ./invidious --migrate +popd + #================================================= # SYSTEM CONFIGURATION #=================================================