mirror of
https://github.com/YunoHost-Apps/coin_ynh.git
synced 2024-09-03 18:16:26 +02:00
Update install
This commit is contained in:
parent
48a4aa8b8d
commit
9d67c41742
1 changed files with 3 additions and 22 deletions
|
@ -14,34 +14,15 @@ source /usr/share/yunohost/helpers
|
|||
# RETRIEVE ARGUMENTS FROM THE MANIFEST
|
||||
#=================================================
|
||||
|
||||
export secret=$(ynh_string_random 24)
|
||||
|
||||
#=================================================
|
||||
# CHECK IF THE APP CAN BE INSTALLED WITH THESE ARGS
|
||||
#=================================================
|
||||
#REMOVEME? ynh_script_progression --message="Validating installation parameters..." --weight=1
|
||||
|
||||
#export install_dir=/opt/$app
|
||||
#REMOVEME? test ! -e "$install_dir" || ynh_die --message="This path already contains a folder"
|
||||
|
||||
# Register (book) web path
|
||||
#REMOVEME? ynh_webpath_register --app=$app --domain=$domain --path=$path
|
||||
|
||||
#=================================================
|
||||
# STORE SETTINGS FROM MANIFEST
|
||||
#=================================================
|
||||
#REMOVEME? ynh_script_progression --message="Storing installation settings..." --weight=1
|
||||
|
||||
#ynh_app_setting_set --app=$app --key=email --value=$email
|
||||
#ynh_app_setting_set --app=$app --key=isp_name --value=$isp_name
|
||||
#ynh_app_setting_set --app=$app --key=isp_site --value=$isp_site
|
||||
secret=$(ynh_string_random 24)
|
||||
email="$(ynh_user_get_info --username=$admin --key=mail)"
|
||||
|
||||
#=================================================
|
||||
# STANDARD MODIFICATIONS
|
||||
#=================================================
|
||||
# INSTALL DEPENDENCIES
|
||||
#=================================================
|
||||
#REMOVEME? ynh_script_progression --message="Installing dependencies..." --weight=1
|
||||
ynh_script_progression --message="Installing dependencies..." --weight=1
|
||||
|
||||
ynh_install_python --python_version=$python_version
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue