1 --- podget/podget~ 2008-05-08 08:50:23.000000000 +0000
2 +++ podget/podget 2008-05-08 08:50:37.000000000 +0000
4 url_base=$(echo $url | sed -e 's/\(.*\/\)[^\/]\+/\1/')
6 # Test for available space on library partition
7 - avail_space=$(df -kP ${dir_library} | tail -n 1 | awk '{print $4}')
8 + avail_space=$(df -k ${dir_library} | tail -n 1 | awk '{print $4}')
9 if [ ${avail_space} -le ${min_space} ] ; then
10 echo -e "\nAvailable space on Library partition has dropped below allowed.\nStopping Session."