Print only once "no packages need updating"

This commit is contained in:
Thomas Forgione 2019-07-19 09:10:30 +02:00
parent 6a22736160
commit e2f4a5d34b
No known key found for this signature in database
GPG Key ID: BFD17A2D71B3B5E7
1 changed files with 0 additions and 2 deletions

View File

@ -307,8 +307,6 @@ update-wasm() {
echo "1 package updated." echo "1 package updated."
elif [ $update_packages -gt 0 ]; then elif [ $update_packages -gt 0 ]; then
echo "$update_packages packages updated." echo "$update_packages packages updated."
else
echo "No packages need updating."
fi fi
local seconds=$((`date +%s` - $start)) local seconds=$((`date +%s` - $start))