1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/omeka-s_ynh.git synced 2024-09-03 19:56:05 +02:00
This commit is contained in:
Éric Gaspar 2024-05-15 11:28:44 +02:00
parent fe0d6e5080
commit ca410ed1b2
3 changed files with 3 additions and 7 deletions

View file

@ -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"]

View file

@ -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"
#=================================================

View file

@ -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"