1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/wemawema_ynh.git synced 2024-10-01 13:34:56 +02:00
This commit is contained in:
ericgaspar 2021-12-15 23:56:40 +01:00
parent 58c57fe3cd
commit 8713bebc48
No known key found for this signature in database
GPG key ID: 574F281483054D44
3 changed files with 3 additions and 9 deletions

View file

@ -3,12 +3,7 @@ location __PATH__/ {
# Path to source
alias __FINALPATH__/ ;
# Force usage of https
if ($scheme = http) {
rewrite ^ https://$server_name$request_uri? permanent;
}
# Include SSOWAT user panel.
include conf.d/yunohost_panel.conf.inc;
}

View file

@ -20,7 +20,7 @@
"url": "https://fiat-tux.fr"
},
"requirements": {
"yunohost": ">> 4.2.4"
"yunohost": ">> 4.3.0"
},
"multi_instance": true,
"services": [

View file

@ -31,8 +31,7 @@ final_path=$(ynh_app_setting_get --app=$app --key=final_path)
#=================================================
ynh_script_progression --message="Validating restoration parameters..." --weight=1
test ! -d $final_path \
|| ynh_die --message="There is already a directory: $final_path "
test ! -d $final_path || ynh_die --message="There is already a directory: $final_path "
#=================================================
# STANDARD RESTORATION STEPS