fix
[libex.git] / dpkg-view.sh
blob39c34938838769bec8e8d4356963ff45f3a142a2
1 #!/bin/bash
3 sum=0
4 for n in $(dpkg -c $1 | awk '{print $3}')
5 do
6 sum=$(($sum+$n))
7 done
8 echo "$1 ->" $((sum/1024)) "Kb"