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

fix upgrade

This commit is contained in:
Jean-Baptiste Holcroft 2019-12-15 09:13:31 +01:00
parent 8adf744def
commit 2f586557d0
2 changed files with 3 additions and 1 deletions

View file

@ -15,7 +15,7 @@
"requirements": { "requirements": {
"yunohost": ">= 3.6.0" "yunohost": ">= 3.6.0"
}, },
"version": "0.15.2~ynh2", "version": "0.15.2~ynh3",
"multi_instance": true, "multi_instance": true,
"services": [ "services": [
"nginx" "nginx"

View file

@ -148,6 +148,8 @@ ynh_replace_string "__PORT__" "$port" "$final_path/config.ini"
ynh_replace_string "__PATH__" "$path_url" "$final_path/config.ini" ynh_replace_string "__PATH__" "$path_url" "$final_path/config.ini"
ynh_replace_string "__FINALPATH__" "$final_path" "$final_path/config.ini" ynh_replace_string "__FINALPATH__" "$final_path" "$final_path/config.ini"
ynh_replace_string "__SALT__" "$salt" "$final_path/config.ini" ynh_replace_string "__SALT__" "$salt" "$final_path/config.ini"
ynh_replace_string "__APP__" "$app" "$final_path/config.ini"
ynh_replace_string "__DOMAIN__" "$domain" "$final_path/config.ini"
# Calculate and store the config file checksum into the app settings # Calculate and store the config file checksum into the app settings
ynh_store_file_checksum "$final_path/config.ini" ynh_store_file_checksum "$final_path/config.ini"