Update install.sh

This commit is contained in:
Kroese 2024-02-04 16:14:11 +01:00 committed by GitHub
parent 8a52c6f3c9
commit 8afca1db1c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -384,6 +384,7 @@ getESD() {
rm -rf "$dir"
mkdir -p "$dir"
rm -f "$file"
space=$(df --output=avail -B 1 "$dir" | tail -n 1)
space_gb=$(( (space + 1073741823)/1073741824 ))