X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=blobdiff_plain;f=src%2Ffunctions.sh;h=56d8a9e732ce3521294f8b73baf7426a974ab592;hb=a968fa800cce3b45b42134f980bc45eac09143fd;hp=0af728bf701decf0cbe1aadd0dfe5e9b1084cb6b;hpb=a97320a33fcf92f0c683b0830dbf700b88726a99;p=carnet-upgrade.git diff --git a/src/functions.sh b/src/functions.sh index 0af728b..56d8a9e 100644 --- a/src/functions.sh +++ b/src/functions.sh @@ -863,7 +863,7 @@ free_space() { download_size() { local size size=$(LC_ALL=C apt-get --yes --print-uris "$@" \ - | sed -n '/^Need to get / {s///; s/B\/.*//; p}') + | sed -n '/^Need to get / {s///; s/B.*//; p}') size_to_mb "${size}B" }