mirror of
https://github.com/ronivay/XenOrchestraInstallerUpdater.git
synced 2026-09-10 20:00:52 -05:00
fix: keep yarn repository key up to date when running updates
This commit is contained in:
@@ -424,6 +424,10 @@ function UpdateNodeYarn {
|
||||
fi
|
||||
|
||||
if [ "$PKG_FORMAT" == "deb" ]; then
|
||||
if [[ "$INSTALL_REPOS" == "true" ]]; then
|
||||
# make sure yarn repository key is up to date
|
||||
runcmd "curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg -o /etc/apt/trusted.gpg.d/yarn.asc"
|
||||
fi
|
||||
if [[ "${NODEV:-0}" -lt "${NODEVERSION}" ]] && [[ "$INSTALL_REPOS" == "true" ]]; then
|
||||
echo
|
||||
printprog "node.js version is ${NODEV:-"not installed"}, upgrading to ${NODEVERSION}.x"
|
||||
|
||||
Reference in New Issue
Block a user