1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/actual_ynh.git synced 2024-09-03 20:36:16 +02:00
This commit is contained in:
Éric Gaspar 2023-06-05 12:49:18 +02:00
parent 379ef9c874
commit 37fb9cb64b
4 changed files with 17 additions and 2 deletions

View file

@ -12,7 +12,7 @@ maintainers = ["eric_G"]
[upstream]
license = "MIT"
admindoc = "https://actualbudget.github.io/docs/"
code = "https://github.com/actualbudget/actual"
code = "https://github.com/actualbudget/actual-server"
[integration]
yunohost = ">= 11.1.19"

View file

@ -61,7 +61,6 @@ ynh_script_progression --message="Installing $app..." --weight=10
pushd $install_dir
ynh_use_nodejs
ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH yarn install
#ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH NODE_ENV=production yarn build
popd
#=================================================

View file

@ -28,6 +28,14 @@ ynh_restore_file --origin_path="$data_dir" --not_mandatory
chown -R $app:www-data "$data_dir"
#=================================================
# REINSTALL DEPENDENCIES
#=================================================
ynh_script_progression --message="Reinstalling dependencies..." --weight=7
# Install Nodejs
ynh_exec_warn_less ynh_install_nodejs --nodejs_version=$nodejs_version
#=================================================
# RESTORE SYSTEM CONFIGURATIONS
#=================================================

View file

@ -34,6 +34,14 @@ fi
chown -R $app:www-data "$install_dir"
#=================================================
# UPGRADE DEPENDENCIES
#=================================================
ynh_script_progression --message="Upgrading dependencies..." --weight=5
# Install Nodejs
ynh_exec_warn_less ynh_install_nodejs --nodejs_version=$nodejs_version
#=================================================
# REAPPLY SYSTEM CONFIGURATIONS
#=================================================