diff --git a/README.md b/README.md index 3cabf59..f5a8d52 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in Actual is a local-first personal finance tool. It is 100% free and open-source, written in NodeJS, it has a synchronization element so that all your changes can move between devices without any heavy lifting. -**Shipped version:** 23.7.2~ynh1 +**Shipped version:** 23.7.2~ynh2 ## Screenshots diff --git a/README_fr.md b/README_fr.md index d5b43e2..566b3ff 100644 --- a/README_fr.md +++ b/README_fr.md @@ -18,7 +18,7 @@ Si vous n’avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) po Actual est un outil de finances personnelles local. Il est 100% gratuit et open-source, écrit en NodeJS, il dispose d'un élément de synchronisation afin que toutes vos modifications puissent se déplacer entre les appareils sans aucune lourde charge. -**Version incluse :** 23.7.2~ynh1 +**Version incluse :** 23.7.2~ynh2 ## Captures d’écran diff --git a/manifest.toml b/manifest.toml index cac87a2..14dff16 100644 --- a/manifest.toml +++ b/manifest.toml @@ -5,7 +5,7 @@ name = "Actual" description.en = "Local-first personal finance tool" description.fr = "Premier outil de finances personnelles local" -version = "23.7.2~ynh1" +version = "23.7.2~ynh2" maintainers = ["eric_G"] diff --git a/scripts/upgrade b/scripts/upgrade index 6e6819f..7aa861a 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -54,6 +54,16 @@ ynh_add_systemd_config yunohost service add $app --description="Local-first personal finance tool" --log="/var/log/$app/$app.log" +#================================================= +# INSTALL ACTUAL +#================================================= +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 +popd + #================================================= # RECONFIGURE THE APP (UPDATE CONF, APPLY MIGRATIONS...) #=================================================