From f726ca67f881a8d8218bec3bffc2ae9960ad5fbd Mon Sep 17 00:00:00 2001 From: Valentin Vidic Date: Thu, 28 Aug 2008 13:37:47 +0200 Subject: [PATCH] Minor code formatting fix. --- src/functions.sh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/functions.sh b/src/functions.sh index 5fce053..cbb7d61 100644 --- a/src/functions.sh +++ b/src/functions.sh @@ -879,8 +879,7 @@ free_space() { 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 $@'." @@ -896,8 +895,7 @@ download_size() { 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'." -- 1.7.10.4