mirror of
https://github.com/awalsh128/cache-apt-pkgs-action.git
synced 2025-09-20 18:17:15 +00:00
Minor formatting change and whitespace removal.
This commit is contained in:
parent
c78e2b67c2
commit
6e061b9142
|
@ -76,7 +76,7 @@ for installed_package in ${installed_packages}; do
|
||||||
if test -f $f || test -L $f; then echo "${f:1}"; fi; #${f:1} removes the leading slash that Tar disallows
|
if test -f $f || test -L $f; then echo "${f:1}"; fi; #${f:1} removes the leading slash that Tar disallows
|
||||||
done |
|
done |
|
||||||
xargs tar -czf "${cache_filepath}" -C /
|
xargs tar -czf "${cache_filepath}" -C /
|
||||||
log " done (compressed size $(du -h "${cache_filepath}" | cut -f1))."
|
log " * Cached ${installed_package_name} to ${cache_filepath} (compressed size $(du -h "${cache_filepath}" | cut -f1))."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Comma delimited name:ver pairs in the all packages manifest.
|
# Comma delimited name:ver pairs in the all packages manifest.
|
||||||
|
|
Loading…
Reference in a new issue