1
0
Fork 0
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:
Éric Gaspar 2024-02-10 15:39:24 +01:00
parent 8d6c845546
commit 8fb85c33a1

View file

@ -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=18 ynh_exec_warn_less ynh_install_nodejs --nodejs_version=16
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')
} }