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

Merge pull request #44 from YunoHost-Apps/testing

fix upgrade
This commit is contained in:
Jean-Baptiste 2019-12-15 09:16:48 +01:00 committed by GitHub
commit 68bc4ca806
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View file

@ -15,7 +15,7 @@
"requirements": {
"yunohost": ">= 3.6.0"
},
"version": "0.15.2~ynh2",
"version": "0.15.2~ynh3",
"multi_instance": true,
"services": [
"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 "__FINALPATH__" "$final_path" "$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
ynh_store_file_checksum "$final_path/config.ini"