mirror of
https://github.com/YunoHost-Apps/snweb_ynh.git
synced 2024-09-03 20:26:22 +02:00
commit
42f047bd7f
4 changed files with 6 additions and 5 deletions
|
@ -21,7 +21,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in
|
||||||
|
|
||||||
The Standard Notes Web App. An end-to-end encrypted note-taking app. Web, Mac, Windows, Linux, iOS, and Android.
|
The Standard Notes Web App. An end-to-end encrypted note-taking app. Web, Mac, Windows, Linux, iOS, and Android.
|
||||||
|
|
||||||
**Shipped version:** 3.22.8~ynh2
|
**Shipped version:** 3.6.8~ynh2
|
||||||
|
|
||||||
**Demo:** https://standardnotes.org/demo
|
**Demo:** https://standardnotes.org/demo
|
||||||
|
|
||||||
|
|
|
@ -13,7 +13,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
**Version incluse:** 3.22.8~ynh2
|
**Version incluse:** 3.6.8~ynh2
|
||||||
|
|
||||||
**Démo:** https://standardnotes.org/demo
|
**Démo:** https://standardnotes.org/demo
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
"description": {
|
"description": {
|
||||||
"en": "The Standard Notes Web App. An end-to-end encrypted note-taking app. Web, Mac, Windows, Linux, iOS, and Android."
|
"en": "The Standard Notes Web App. An end-to-end encrypted note-taking app. Web, Mac, Windows, Linux, iOS, and Android."
|
||||||
},
|
},
|
||||||
"version": "3.6.8~ynh1",
|
"version": "3.6.8~ynh2",
|
||||||
"url": "https://github.com/standardnotes/web",
|
"url": "https://github.com/standardnotes/web",
|
||||||
"upstream": {
|
"upstream": {
|
||||||
"license": "AGPL-3.0-or-later",
|
"license": "AGPL-3.0-or-later",
|
||||||
|
|
|
@ -23,6 +23,8 @@ 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)
|
||||||
snserver_domain=$(ynh_app_setting_get --app=$app --key=snserver_domain)
|
snserver_domain=$(ynh_app_setting_get --app=$app --key=snserver_domain)
|
||||||
|
|
||||||
|
config_file="$final_path/live/.env"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# CHECK VERSION
|
# CHECK VERSION
|
||||||
#=================================================
|
#=================================================
|
||||||
|
@ -53,7 +55,7 @@ if [ -z "$final_path" ]; then
|
||||||
ynh_app_setting_set --app=$app --key=final_path --value=$final_path
|
ynh_app_setting_set --app=$app --key=final_path --value=$final_path
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if ynh_compare_current_package_version --comparison lt --version "3.6.8~ynh1"
|
if ynh_compare_current_package_version --comparison lt --version "3.6.8~ynh2"
|
||||||
then
|
then
|
||||||
# Add variables to .env config file
|
# Add variables to .env config file
|
||||||
echo -e "\
|
echo -e "\
|
||||||
|
@ -162,7 +164,6 @@ popd
|
||||||
#=================================================
|
#=================================================
|
||||||
# MODIFY A CONFIG FILE
|
# MODIFY A CONFIG FILE
|
||||||
#=================================================
|
#=================================================
|
||||||
config_file="$final_path/live/.env"
|
|
||||||
if [ "$upgrade_type" == "UPGRADE_APP" ]
|
if [ "$upgrade_type" == "UPGRADE_APP" ]
|
||||||
then
|
then
|
||||||
ynh_script_progression --message="Modifying a config file..." --weight=2
|
ynh_script_progression --message="Modifying a config file..." --weight=2
|
||||||
|
|
Loading…
Add table
Reference in a new issue