From 4f2309a1c24e13d8caa3dc6492ffd221e1245b58 Mon Sep 17 00:00:00 2001 From: Kay0u Date: Wed, 27 Jan 2021 20:00:03 +0100 Subject: [PATCH] make-chroots: install npm@latest --- chroots/make-chroots | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/chroots/make-chroots b/chroots/make-chroots index 95e58f7..52eb617 100755 --- a/chroots/make-chroots +++ b/chroots/make-chroots @@ -38,10 +38,10 @@ function build_chroot() then # This is for building yunohost-admin 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 ... - # This only happens when building those chroot ... I don't know why ... - chroot $CHROOT ln -s /usr/lib/nodejs /lib/nodejs - chroot $CHROOT npm install -g npm + # 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 ... + chroot $CHROOT ln -s /usr/lib/nodejs /lib/nodejs + chroot $CHROOT npm install -g npm@latest fi chroot $CHROOT apt clean