From 3c104153471200f23e2e4dc3e54d34f0b6b5edb8 Mon Sep 17 00:00:00 2001 From: Hyperling Date: Sat, 31 Oct 2026 08:07:19 -0700 Subject: [PATCH] update, improve output of skipping NPM. --- facts/general/package.yml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/facts/general/package.yml b/facts/general/package.yml index 1aaab49..ce6ed88 100644 --- a/facts/general/package.yml +++ b/facts/general/package.yml @@ -270,12 +270,13 @@ update_npm: | ## Let's let the distro package managers handle this, otherwise may end up ## breaking dependencies or causing other system weirdness. No thanks! :) - # if [[ `which npm` ]]; then - # echo "*** NPM ***" && - # sudo npm update -g - # echo -e "\n" - # fi - echo "*** Skipping NPM ***" + if [[ `which npm` && 1 == 0 ]]; then + echo "*** NPM ***" && + sudo npm update -g + echo -e "\n" + else + echo -e "*** Skipping NPM ***\n\n" + fi # Flatpaks - name: General | Facts | Package | Update Command | Flatpak | Check