download_size() {
local size
- size=$(LC_ALL=C apt-get --yes --print-uris "$@" \
- | grep '^Need to get ')
+ size=$(LC_ALL=C apt-get --yes --print-uris "$@" | grep '^Need to get ')
if [ $? -ne 0 ]; then
log "Failed to get download size for 'apt-get $@'."
installed_size() {
local package size
package=$1
- size=$(apt-cache show $package \
- | grep '^Installed-Size:')
+ size=$(apt-cache show $package | grep '^Installed-Size:')
if [ $? -ne 0 ]; then
log "Failed to get installed size for '$package'."