mirror of
https://github.com/YunoHost/vinaigrette.git
synced 2024-09-03 20:06:11 +02:00
make-chroots: install npm@latest
This commit is contained in:
parent
8996c34656
commit
4f2309a1c2
1 changed files with 4 additions and 4 deletions
|
@ -41,7 +41,7 @@ function build_chroot()
|
||||||
# Don't ask me why, but stupid nodejs wants to look for stuff inside /lib instead of /usr/lib ...
|
# Don't ask me why, but stupid nodejs wants to look for stuff inside /lib instead of /usr/lib ...
|
||||||
# This only happens when building those chroot ... I don't know why ...
|
# This only happens when building those chroot ... I don't know why ...
|
||||||
chroot $CHROOT ln -s /usr/lib/nodejs /lib/nodejs
|
chroot $CHROOT ln -s /usr/lib/nodejs /lib/nodejs
|
||||||
chroot $CHROOT npm install -g npm
|
chroot $CHROOT npm install -g npm@latest
|
||||||
fi
|
fi
|
||||||
|
|
||||||
chroot $CHROOT apt clean
|
chroot $CHROOT apt clean
|
||||||
|
|
Loading…
Reference in a new issue