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
|
@ -38,10 +38,10 @@ function build_chroot()
|
||||||
then
|
then
|
||||||
# This is for building yunohost-admin
|
# This is for building yunohost-admin
|
||||||
chroot $CHROOT apt install -y npm nodejs
|
chroot $CHROOT apt install -y npm nodejs
|
||||||
# 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