From 7586f6401aa642671f388f6d5354dcab3ddf06c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Sun, 7 Jul 2024 14:28:03 +0200 Subject: [PATCH] cleaning --- scripts/install | 3 --- scripts/remove | 2 -- scripts/upgrade | 9 --------- 3 files changed, 14 deletions(-) diff --git a/scripts/install b/scripts/install index d6418e6..5cd9f76 100644 --- a/scripts/install +++ b/scripts/install @@ -14,7 +14,6 @@ source /usr/share/yunohost/helpers #================================================= ynh_script_progression --message="Setting up source files..." --weight=7 -# Download, check integrity, uncompress and patch the source from app.src ynh_setup_source --dest_dir="$install_dir" chmod -R o-rwx "$install_dir" @@ -26,10 +25,8 @@ chmod -R 770 "$install_dir/storage" #================================================= ynh_script_progression --message="Adding system configurations related to $app..." --weight=1 -# Create a dedicated NGINX config ynh_add_nginx_config -# Create a dedicated PHP-FPM config ynh_add_fpm_config #================================================= diff --git a/scripts/remove b/scripts/remove index e69e0af..f717a6a 100644 --- a/scripts/remove +++ b/scripts/remove @@ -16,10 +16,8 @@ source /usr/share/yunohost/helpers #================================================= ynh_script_progression --message="Removing system configurations related to $app..." --weight=1 -# Remove the dedicated NGINX config ynh_remove_nginx_config -# Remove the dedicated PHP-FPM config ynh_remove_fpm_config #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index 18cc682..f4287ba 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -9,18 +9,11 @@ source _common.sh source /usr/share/yunohost/helpers -#================================================= -# CHECK VERSION -#================================================= - -upgrade_type=$(ynh_check_app_version_changed) - #================================================= # DOWNLOAD, CHECK AND UNPACK SOURCE #================================================= ynh_script_progression --message="Upgrading source files..." --weight=1 -# Download, check integrity, uncompress and patch the source from app.src ynh_setup_source --dest_dir="$install_dir" --keep="config.php storage/" chmod -R o-rwx "$install_dir" @@ -32,10 +25,8 @@ chmod -R 770 "$install_dir/storage" #================================================= ynh_script_progression --message="Upgrading system configurations related to $app..." --weight=1 -# Create a dedicated NGINX config ynh_add_nginx_config -# Create a dedicated PHP-FPM config ynh_add_fpm_config #=================================================