From 570244afce72801645348c5897258052c62d6ec5 Mon Sep 17 00:00:00 2001 From: tituspijean Date: Fri, 7 May 2021 18:50:15 +0200 Subject: [PATCH] No need to prepare sources at runtime It is handled by the maintainer with update_version.sh --- scripts/install | 5 ----- scripts/restore | 5 ----- scripts/upgrade | 5 ----- 3 files changed, 15 deletions(-) diff --git a/scripts/install b/scripts/install index 9fea419..556ef08 100644 --- a/scripts/install +++ b/scripts/install @@ -75,11 +75,6 @@ ynh_app_setting_set --app=$app --key=port --value=$port #================================================= ynh_script_progression --message="Installing dependencies..." --weight=1 -# Prepare the source files (replace the placeholders with version, architecture, etc. -ynh_add_config --template="../conf/ffmpeg.src.default" --destination="../conf/ffmpeg.src" -ynh_add_config --template="../conf/server.src.default" --destination="../conf/server.src" -ynh_add_config --template="../conf/web.src.default" --destination="../conf/web.src" - # Create the temporary directory tempdir="$(mktemp -d)" diff --git a/scripts/restore b/scripts/restore index 8c3c819..5971618 100644 --- a/scripts/restore +++ b/scripts/restore @@ -89,11 +89,6 @@ chown -R $app: $final_path #================================================= ynh_script_progression --message="Reinstalling dependencies..." --weight=7 -# Prepare the source files (replace the placeholders with version, architecture, etc. -ynh_add_config --template="../conf/ffmpeg.src.default" --destination="../settings/conf/ffmpeg.src" -ynh_add_config --template="../conf/server.src.default" --destination="../settings/conf/server.src" -ynh_add_config --template="../conf/web.src.default" --destination="../settings/conf/web.src" - # Create the temporary directory tempdir="$(mktemp -d)" diff --git a/scripts/upgrade b/scripts/upgrade index 4203a27..f1c247a 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -100,11 +100,6 @@ ynh_add_nginx_config #================================================= ynh_script_progression --message="Upgrading dependencies..." --weight=3 -# Prepare the source files (replace the placeholders with version, architecture, etc. -ynh_add_config --template="../conf/ffmpeg.src.default" --destination="../conf/ffmpeg.src" -ynh_add_config --template="../conf/server.src.default" --destination="../conf/server.src" -ynh_add_config --template="../conf/web.src.default" --destination="../conf/web.src" - # Create the temporary directory tempdir="$(mktemp -d)"