From: Valentin Vidic Date: Thu, 28 Aug 2008 11:37:47 +0000 (+0200) Subject: Minor code formatting fix. X-Git-Tag: debian/4.0.6~7 X-Git-Url: http://ftp.carnet.hr/pub/carnet-debian/scm?a=commitdiff_plain;h=f726ca67f881a8d8218bec3bffc2ae9960ad5fbd;p=carnet-upgrade.git Minor code formatting fix. --- 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'."