Print only once "no packages need updating"
This commit is contained in:
parent
6a22736160
commit
e2f4a5d34b
|
@ -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))
|
||||||
|
|
Loading…
Reference in New Issue