1 parent 643161d commit 40bd192Copy full SHA for 40bd192
1 file changed
xo-install.sh
@@ -424,6 +424,10 @@ function UpdateNodeYarn {
424
fi
425
426
if [ "$PKG_FORMAT" == "deb" ]; then
427
+ if [[ "$INSTALL_REPOS" == "true" ]]; then
428
+ # make sure yarn repository key is up to date
429
+ runcmd "curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg -o /etc/apt/trusted.gpg.d/yarn.asc"
430
+ fi
431
if [[ "${NODEV:-0}" -lt "${NODEVERSION}" ]] && [[ "$INSTALL_REPOS" == "true" ]]; then
432
echo
433
printprog "node.js version is ${NODEV:-"not installed"}, upgrading to ${NODEVERSION}.x"
0 commit comments