mirror of
https://github.com/YunoHost-Apps/omeka-s_ynh.git
synced 2024-09-03 19:56:05 +02:00
cleaning
This commit is contained in:
parent
fe0d6e5080
commit
ca410ed1b2
3 changed files with 3 additions and 7 deletions
|
@ -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"]
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
||||
#=================================================
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue