SPACE_NEEDED=$(apt-get--assume-no--fix-missing--no-install-recommendsinstallopenmediavaultpostfix2>/dev/null | awk -F" " '/additional disk space will be used/ {print $4}')
SPACE_NEEDED=$(apt-get--assume-no--allow-unauthenticated--fix-missing--no-install-recommendsinstallopenmediavaultpostfix2>/dev/null | awk -F" " '/additional disk space will be used/ {print $4}')
dialog --backtitle "$backtitle" --title "No space left on device" --msgbox "\nOpenMediaVault needs ${SPACE_NEEDED} MB for installation while only ${SPACE_AVAIL} MB are available." 7 52
dialog --backtitle "$backtitle" --title "No space left on device" --msgbox "\nOpenMediaVault needs ${SPACE_NEEDED} MB for installation while only ${SPACE_AVAIL} MB are available." 7 52