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:
parent
cc347af429
commit
1b03fc1901
1 changed files with 7 additions and 0 deletions
|
@ -17,6 +17,13 @@ source /usr/share/yunohost/helpers
|
||||||
# Testing if ZeroTier is installed
|
# 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."
|
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
|
# RESTORE THE APP MAIN DIR
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Add table
Reference in a new issue