mirror of
https://github.com/YunoHost-Apps/send_ynh.git
synced 2025-09-04 11:08:37 +02:00
Update upgrade
This commit is contained in:
@ -18,14 +18,12 @@ app=$YNH_APP_INSTANCE_NAME
|
||||
|
||||
domain=$(ynh_app_setting_get --app=$app --key=domain)
|
||||
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)
|
||||
port=$(ynh_app_setting_get --app=$app --key=port)
|
||||
|
||||
#=================================================
|
||||
# CHECK VERSION
|
||||
#=================================================
|
||||
ynh_script_progression --message="Checking version..."
|
||||
|
||||
upgrade_type=$(ynh_check_app_version_changed)
|
||||
|
||||
@ -122,8 +120,8 @@ then
|
||||
|
||||
pushd "$final_path"
|
||||
ynh_use_nodejs
|
||||
ynh_exec_warn_less ynh_exec_as $app npm install
|
||||
ynh_exec_warn_less ynh_exec_as $app npm run build
|
||||
ynh_exec_warn_less ynh_npm install
|
||||
ynh_exec_warn_less ynh_npm run build
|
||||
popd
|
||||
fi
|
||||
|
||||
|
Reference in New Issue
Block a user