mirror of
https://github.com/YunoHost-Apps/dont-code_ynh.git
synced 2024-09-03 18:26:34 +02:00
Trying to install buster version of Mongo 4.4
This commit is contained in:
parent
527edad6d2
commit
b1c71fb5c2
4 changed files with 10 additions and 1 deletions
|
@ -5,7 +5,7 @@
|
||||||
#=================================================
|
#=================================================
|
||||||
java_version=17
|
java_version=17
|
||||||
|
|
||||||
mongo_version=6.0
|
mongo_version=4.4
|
||||||
|
|
||||||
# Java dependencies used by the app will be installed through the Java helper
|
# Java dependencies used by the app will be installed through the Java helper
|
||||||
pkg_dependencies=""
|
pkg_dependencies=""
|
||||||
|
|
|
@ -71,6 +71,7 @@ ynh_script_progression --message="Storing installation settings..." --weight=1
|
||||||
|
|
||||||
ynh_app_setting_set --app=$app --key=domain --value=$domain
|
ynh_app_setting_set --app=$app --key=domain --value=$domain
|
||||||
ynh_app_setting_set --app=$app --key=path --value=$path_url
|
ynh_app_setting_set --app=$app --key=path --value=$path_url
|
||||||
|
ynh_app_setting_set --app=$app --key=is_public --value=$is_public
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# STANDARD MODIFICATIONS
|
# STANDARD MODIFICATIONS
|
||||||
|
|
|
@ -32,6 +32,7 @@ app=$YNH_APP_INSTANCE_NAME
|
||||||
|
|
||||||
domain=$(ynh_app_setting_get --app=$app --key=domain)
|
domain=$(ynh_app_setting_get --app=$app --key=domain)
|
||||||
path_url=$(ynh_app_setting_get --app=$app --key=path)
|
path_url=$(ynh_app_setting_get --app=$app --key=path)
|
||||||
|
is_public=$(ynh_app_setting_get --app=$app --key=is_public)
|
||||||
final_path=$(ynh_app_setting_get --app=$app --key=final_path)
|
final_path=$(ynh_app_setting_get --app=$app --key=final_path)
|
||||||
db_user=$(ynh_app_setting_get --app=$app --key=db_user)
|
db_user=$(ynh_app_setting_get --app=$app --key=db_user)
|
||||||
html_path=$(ynh_app_setting_get --app=$app --key=html_path)
|
html_path=$(ynh_app_setting_get --app=$app --key=html_path)
|
||||||
|
|
|
@ -20,6 +20,7 @@ app=$YNH_APP_INSTANCE_NAME
|
||||||
|
|
||||||
domain=$(ynh_app_setting_get --app=$app --key=domain)
|
domain=$(ynh_app_setting_get --app=$app --key=domain)
|
||||||
path_url=$(ynh_app_setting_get --app=$app --key=path)
|
path_url=$(ynh_app_setting_get --app=$app --key=path)
|
||||||
|
is_public=$(ynh_app_setting_get --app=$app --key=is_public)
|
||||||
port_ide=$(ynh_app_setting_get --app=$app --key=port_ide)
|
port_ide=$(ynh_app_setting_get --app=$app --key=port_ide)
|
||||||
port_preview=$(ynh_app_setting_get --app=$app --key=port_preview)
|
port_preview=$(ynh_app_setting_get --app=$app --key=port_preview)
|
||||||
port_project=$(ynh_app_setting_get --app=$app --key=port_project)
|
port_project=$(ynh_app_setting_get --app=$app --key=port_project)
|
||||||
|
@ -75,6 +76,12 @@ done
|
||||||
# ENSURE DOWNWARD COMPATIBILITY
|
# ENSURE DOWNWARD COMPATIBILITY
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
||||||
|
# Check or set the value of is_public
|
||||||
|
if [ -e "$is_public" ]; then
|
||||||
|
is_public=true
|
||||||
|
ynh_app_setting_set --app=$app --key=is_public --value=$is_public
|
||||||
|
fi
|
||||||
|
|
||||||
# Create html_path if needed
|
# Create html_path if needed
|
||||||
if [ -z "$html_path" ]; then
|
if [ -z "$html_path" ]; then
|
||||||
ynh_script_progression --message="Ensuring downward compatibility..." --weight=1
|
ynh_script_progression --message="Ensuring downward compatibility..." --weight=1
|
||||||
|
|
Loading…
Add table
Reference in a new issue