Different way of setting the npm version
This commit is contained in:
parent
c6b7001cab
commit
164481ce2e
|
@ -581,7 +581,8 @@ install_patchwork() {
|
|||
exit 8793636
|
||||
fi
|
||||
chroot "$rootdir" chmod +x /root/npm_install.sh
|
||||
chroot "$rootdir" npm_install=$NPM_VERSION /root/npm_install.sh
|
||||
sed -i "s|t=\"\${npm_install}\"|t=\"$NPM_VERSION\"|g" $rootdir/root/npm_install.sh
|
||||
chroot "$rootdir" /root/npm_install.sh
|
||||
fi
|
||||
|
||||
git clone https://github.com/ssbc/patchwork $rootdir/etc/patchwork
|
||||
|
|
Loading…
Reference in New Issue