mirror of
https://github.com/awalsh128/cache-apt-pkgs-action.git
synced 2024-12-22 10:45:29 +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}"
|
||||
|
||||
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:"
|
||||
for package in $packages; do
|
||||
echo "- $package"
|
||||
done
|
||||
echo ""
|
||||
|
||||
echo -n "Updating APT package list..."
|
||||
sudo apt-get update > /dev/null
|
||||
|
|
Loading…
Reference in a new issue