mirror of
https://github.com/awalsh128/cache-apt-pkgs-action.git
synced 2024-12-22 18:55:30 +00:00
Remove blank line on reporting.
This commit is contained in:
parent
95b1f6f538
commit
dec2761421
|
@ -10,12 +10,11 @@ cache_dir=$1
|
||||||
packages="${@:2}"
|
packages="${@:2}"
|
||||||
|
|
||||||
package_count=$(echo $packages | wc -w)
|
package_count=$(echo $packages | wc -w)
|
||||||
echo "Clean installing and caching $package_count package(s).\n"
|
echo "Clean installing and caching $package_count package(s)."
|
||||||
echo "Package list:"
|
echo "Package list:"
|
||||||
for package in $packages; do
|
for package in $packages; do
|
||||||
echo "- $package"
|
echo "- $package"
|
||||||
done
|
done
|
||||||
echo ""
|
|
||||||
|
|
||||||
echo -n "Updating APT package list..."
|
echo -n "Updating APT package list..."
|
||||||
sudo apt-get update > /dev/null
|
sudo apt-get update > /dev/null
|
||||||
|
|
Loading…
Reference in a new issue