Build in a bit of overestimate to handle inode tables and stuff
This commit is contained in:
parent
cc366b2491
commit
9dbfa0fe87
@ -4,14 +4,6 @@ DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
|
||||
SPACE_REQ=$(du -sb "$DIR/../base" | cut -f 1)
|
||||
|
||||
let "SIZE = $SPACE_REQ / 4096 + 2048"
|
||||
let "SIZE = ($SPACE_REQ / 3500)"
|
||||
echo $SIZE
|
||||
|
||||
#if [ -e "$DIR/../base/usr/share/fonts" ]; then
|
||||
# echo 20000
|
||||
#elif [ -e "$DIR/../base/usr/python" ]; then
|
||||
# echo 11000
|
||||
#else
|
||||
# echo 4096
|
||||
#fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user