mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Update data/helpers.d/nodejs
Co-authored-by: Kayou <pierre@kayou.io>
This commit is contained in:
parent
63e6abdf1e
commit
c62527a0af
1 changed files with 1 additions and 1 deletions
|
@ -129,7 +129,7 @@ ynh_install_nodejs () {
|
||||||
if ! test $(n --version > /dev/null 2>&1)
|
if ! test $(n --version > /dev/null 2>&1)
|
||||||
then
|
then
|
||||||
ynh_install_n
|
ynh_install_n
|
||||||
elif dpkg --compare-version "$($n_install_dir/bin/n --version | cut -d" " -f2)" lt $n_version
|
elif dpkg --compare-versions "$($n_install_dir/bin/n --version)" lt $n_version
|
||||||
then
|
then
|
||||||
ynh_install_n
|
ynh_install_n
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Reference in a new issue