mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Update nodejs
This commit is contained in:
parent
ada94aec18
commit
faedbc534f
1 changed files with 1 additions and 1 deletions
|
@ -125,7 +125,7 @@ ynh_install_nodejs () {
|
|||
test -x /usr/bin/npm && mv /usr/bin/npm /usr/bin/npm_n
|
||||
|
||||
# If n is not previously setup, install it
|
||||
if ! type n > /dev/null 2>&1
|
||||
if ! type $(n --version > /dev/null 2>&1)
|
||||
then
|
||||
ynh_install_n
|
||||
elif dpkg --compare-version "$($n_install_dir/bin/n --version | cut -d" " -f2)" lt "6.5.1"
|
||||
|
|
Loading…
Add table
Reference in a new issue