mirror of
https://github.com/YunoHost-Apps/photoview_ynh.git
synced 2024-09-03 20:05:55 +02:00
Update _common.sh
This commit is contained in:
parent
43f44d23f2
commit
2b458f7e0b
1 changed files with 1 additions and 1 deletions
|
@ -111,7 +111,7 @@ function set_node_vars {
|
||||||
if [ $nodejs_version -ne 16 ]; then
|
if [ $nodejs_version -ne 16 ]; then
|
||||||
ynh_exec_warn_less ynh_remove_nodejs
|
ynh_exec_warn_less ynh_remove_nodejs
|
||||||
fi
|
fi
|
||||||
ynh_exec_warn_less ynh_install_nodejs --nodejs_version=16
|
ynh_exec_warn_less ynh_install_nodejs --nodejs_version=18
|
||||||
ynh_use_nodejs
|
ynh_use_nodejs
|
||||||
node_path=$nodejs_path:$(sudo -u $app sh -c 'echo $PATH')
|
node_path=$nodejs_path:$(sudo -u $app sh -c 'echo $PATH')
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue