1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/dokuwiki_ynh.git synced 2024-09-03 18:26:20 +02:00

[fix] Correct errors found by 'package_check'

This commit is contained in:
Gofannon 2018-06-17 11:36:13 +02:00
parent feba478177
commit 15c44f67bf
3 changed files with 210 additions and 221 deletions

View file

@ -53,12 +53,6 @@ ynh_backup "/etc/nginx/conf.d/$domain.d/$app.conf"
ynh_backup "/etc/php5/fpm/pool.d/$app.conf"
ynh_backup "/etc/php5/fpm/conf.d/20-$app.ini"
#=================================================
# BACKUP THE MYSQL DATABASE
#=================================================
ynh_mysql_dump_db "$db_name" > db.sql
#=================================================
# SPECIFIC BACKUP
#=================================================
@ -73,8 +67,3 @@ ynh_backup "/etc/logrotate.d/$app"
ynh_backup "/etc/systemd/system/$app.service"
#=================================================
# BACKUP THE CRON FILE
#=================================================
ynh_backup "/etc/cron.d/$app"

View file

@ -105,7 +105,7 @@ ynh_add_fpm_config
#=================================================
# Create a dedicated systemd config
ynh_systemd_config
ynh_add_systemd_config
#=================================================
# MODIFY A CONFIG FILE

View file

@ -140,9 +140,9 @@ done
#=================================================
# Verify the checksum and backup the file if it's different
ynh_backup_if_checksum_is_different "$final_path/CONFIG_FILE"
ynh_backup_if_checksum_is_different "$final_path/conf/dokuwiki.php"
# Recalculate and store the config file checksum into the app settings
ynh_store_file_checksum "$final_path/CONFIG_FILE"
ynh_store_file_checksum "$final_path/conf/dokuwiki.php"
#=================================================
# SETUP LOGROTATE