1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/zeroui_ynh.git synced 2024-09-03 18:05:57 +02:00

Reinstall NodeJS upon restore

This commit is contained in:
tituspijean 2023-08-27 01:09:45 +02:00
parent cc347af429
commit 1b03fc1901
No known key found for this signature in database
GPG key ID: EF3B0D7CC0A94720

View file

@ -17,6 +17,13 @@ source /usr/share/yunohost/helpers
# Testing if ZeroTier is installed
yunohost app list | grep -q "id: zerotier" || ynh_die "ZeroTier is needed, but it is not installed. Restore its backup first, otherwise there is a package for that, then perform a force-upgrade of ZeroUI."
#=================================================
# REINSTALL DEPENDENCIES
#=================================================
ynh_script_progression --message="Reinstalling dependencies..." --weight=2
ynh_install_nodejs --nodejs_version=$nodejs_version
#=================================================
# RESTORE THE APP MAIN DIR
#=================================================