From 52f4704a6ae89a6973c4048178367f9730b285ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Fri, 5 Jul 2024 14:48:10 +0200 Subject: [PATCH] cleaning --- manifest.toml | 2 +- scripts/remove | 4 +--- scripts/upgrade | 5 +---- 3 files changed, 3 insertions(+), 8 deletions(-) diff --git a/manifest.toml b/manifest.toml index ac6021c..86d0034 100644 --- a/manifest.toml +++ b/manifest.toml @@ -16,7 +16,7 @@ admindoc = "https://cypht.org/install.html" code = "https://github.com/cypht-org/cypht" [integration] -yunohost = ">= 11.2.17" +yunohost = ">= 11.2.20" helpers_version = "2.1" architectures = "all" multi_instance = true diff --git a/scripts/remove b/scripts/remove index 8069c9c..32e4777 100755 --- a/scripts/remove +++ b/scripts/remove @@ -8,10 +8,8 @@ source /usr/share/yunohost/helpers #================================================= ynh_script_progression "Removing system configurations related to $app..." -# Remove the dedicated NGINX config ynh_config_remove_nginx - -# Remove the dedicated PHP-FPM config +M config ynh_config_remove_phpfpm #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index fe87a44..1da1b45 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -14,8 +14,7 @@ timezone=$(cat /etc/timezone) #================================================= ynh_script_progression "Upgrading source files..." -# Download, check integrity, uncompress and patch the source from app.src -ynh_setup_source --dest_dir="$install_dir" #--full_replace #--keep=".env" +ynh_setup_source --dest_dir="$install_dir" #--full_replace --keep=".env" chmod -R o-rwx "$install_dir" chown -R $app:www-data "$install_dir" @@ -25,10 +24,8 @@ chown -R $app:www-data "$install_dir" #================================================= ynh_script_progression "Upgrading system configurations related to $app..." -# Create a dedicated PHP-FPM config ynh_config_add_phpfpm -# Create a dedicated NGINX config ynh_config_add_nginx #=================================================