1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/librarian_ynh.git synced 2024-09-03 19:36:01 +02:00

Merge pull request #1 from YunoHost-Apps/testing

Set var
This commit is contained in:
Éric Gaspar 2022-05-29 17:41:31 +02:00 committed by GitHub
commit ed1c1d140d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 0 deletions

View file

@ -3,6 +3,8 @@
domain="domain.tld" domain="domain.tld"
path="/" path="/"
is_public=1 is_public=1
instance_country=France
instance_provider=OVH
; Checks ; Checks
pkg_linter=1 pkg_linter=1
setup_sub_dir=0 setup_sub_dir=0

View file

@ -29,6 +29,8 @@ ynh_script_progression --message="Loading installation settings..." --weight=1
# Needed for helper "ynh_add_nginx_config" # Needed for helper "ynh_add_nginx_config"
final_path=$(ynh_app_setting_get --app=$app --key=final_path) final_path=$(ynh_app_setting_get --app=$app --key=final_path)
port=$(ynh_app_setting_get --app=$app --key=port) port=$(ynh_app_setting_get --app=$app --key=port)
instance_country=$(ynh_app_setting_get --app=$app --key=instance_country)
instance_provider=$(ynh_app_setting_get --app=$app --key=instance_provider)
#================================================= #=================================================
# BACKUP BEFORE CHANGE URL THEN ACTIVE TRAP # BACKUP BEFORE CHANGE URL THEN ACTIVE TRAP