1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/trilium_ynh.git synced 2024-10-01 13:34:49 +02:00

Fix _common.sh

This commit is contained in:
Jules Bertholet 2022-06-18 12:08:37 -04:00
parent de48d1cd77
commit dc526563a3
No known key found for this signature in database
GPG key ID: 32034DAFC38C1BFC

View file

@ -13,7 +13,7 @@ pkg_dependencies="nodejs npm libpng16-16 libpng-dev pkg-config autoconf libtool
function set_node_vars {
nodejs_version=$(ynh_app_setting_get --app=$app --key=nodejs_version)
if [ $nodejs_version -ne 16 ]; then
if [ "$nodejs_version" -ne 16 ]; then
ynh_exec_warn_less ynh_remove_nodejs
fi
ynh_exec_warn_less ynh_install_nodejs --nodejs_version=16