From ca410ed1b24f987df71835249bc21d36c0d365e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Wed, 15 May 2024 11:28:44 +0200 Subject: [PATCH] cleaning --- manifest.toml | 2 +- scripts/backup | 6 +----- scripts/install | 2 +- 3 files changed, 3 insertions(+), 7 deletions(-) diff --git a/manifest.toml b/manifest.toml index 47bce33..6f364e6 100644 --- a/manifest.toml +++ b/manifest.toml @@ -5,7 +5,7 @@ name = "Omeka S" description.en = "Web publication system for universities, galleries, libraries, archives, and museums" description.fr = "Système de publication Web pour les universités, les galeries, les bibliothèques, les archives et les musées" -version = "4.1.0~ynh1" +version = "4.1.0~ynh2" maintainers = ["eric_G"] diff --git a/scripts/backup b/scripts/backup index 214b288..30f2c81 100755 --- a/scripts/backup +++ b/scripts/backup @@ -22,15 +22,11 @@ ynh_print_info --message="Declaring files to be backed up..." ynh_backup --src_path="$install_dir" #================================================= -# BACKUP THE NGINX CONFIGURATION +# SYSTEM CONFIGURATION #================================================= ynh_backup --src_path="/etc/nginx/conf.d/$domain.d/$app.conf" -#================================================= -# BACKUP THE PHP-FPM CONFIGURATION -#================================================= - ynh_backup --src_path="/etc/php/$phpversion/fpm/pool.d/$app.conf" #================================================= diff --git a/scripts/install b/scripts/install index 8def79e..6dc49b1 100755 --- a/scripts/install +++ b/scripts/install @@ -52,7 +52,7 @@ ynh_add_nginx_config #================================================= ynh_script_progression --message="Adding a configuration file..." --weight=1 -ynh_add_config --template="../conf/database.ini.default" --destination="$install_dir/config/database.ini" +ynh_add_config --template="database.ini.default" --destination="$install_dir/config/database.ini" chmod 400 "$install_dir/config/database.ini" chown $app "$install_dir/config/database.ini"