mirror of
https://github.com/YunoHost-Apps/haste_ynh.git
synced 2024-09-03 20:36:28 +02:00
fix
This commit is contained in:
parent
9bd06ec7f5
commit
c64c720c13
3 changed files with 3 additions and 8 deletions
|
@ -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
|
## `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 :
|
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 :
|
||||||
|
|
|
@ -37,7 +37,7 @@ ynh_backup --src_path="/etc/logrotate.d/$app"
|
||||||
# BACKUP DATA_DIR DIRECTORY
|
# BACKUP DATA_DIR DIRECTORY
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
||||||
ynh_backup --src_path="$data_path" --is_big
|
ynh_backup --src_path="$data_dir" --is_big
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# BACKUP BINARY
|
# BACKUP BINARY
|
||||||
|
|
|
@ -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_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
|
# RESTORE BINARY
|
||||||
|
|
Loading…
Add table
Reference in a new issue