From c64c720c1327dcd25879eb3bb6ce42e7b6ccc177 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Mon, 3 Apr 2023 14:55:28 +0200 Subject: [PATCH] fix --- doc/ADMIN_fr.md | 5 ----- scripts/backup | 2 +- scripts/restore | 4 ++-- 3 files changed, 3 insertions(+), 8 deletions(-) diff --git a/doc/ADMIN_fr.md b/doc/ADMIN_fr.md index caa910a..3852877 100644 --- a/doc/ADMIN_fr.md +++ b/doc/ADMIN_fr.md @@ -1,8 +1,3 @@ -### Support multi-utilisateur - -* L'authentification LDAP et HTTP est-elle prise en charge ? **Non** -* L'application peut-elle ĂȘtre utilisĂ©e par plusieurs utilisateurs ? **Oui** - ## `haste` command Ce paquet de Haste pour YunoHost comprend une commande [`haste`](https://github.com/diethnis/standalones/blob/master/hastebin.sh), vous permettant de partager du contenu avec le terminal : diff --git a/scripts/backup b/scripts/backup index d1af431..d45b6dc 100755 --- a/scripts/backup +++ b/scripts/backup @@ -37,7 +37,7 @@ ynh_backup --src_path="/etc/logrotate.d/$app" # BACKUP DATA_DIR DIRECTORY #================================================= -ynh_backup --src_path="$data_path" --is_big +ynh_backup --src_path="$data_dir" --is_big #================================================= # BACKUP BINARY diff --git a/scripts/restore b/scripts/restore index 5e6c543..b4f893f 100755 --- a/scripts/restore +++ b/scripts/restore @@ -33,9 +33,9 @@ ynh_exec_warn_less ynh_install_nodejs --nodejs_version=$nodejs_version #================================================= ynh_script_progression --message="Restoring the data directory..." --weight=1 -ynh_restore_file --origin_path="$data_path" --not_mandatory +ynh_restore_file --origin_path="$data_dir" --not_mandatory -chown -R $app:www-data "$data_path" +chown -R $app:www-data "$data_dir" #================================================= # RESTORE BINARY