diff --git a/compile.sh b/compile.sh index 6257109dbc..b8e6f96611 100755 --- a/compile.sh +++ b/compile.sh @@ -84,6 +84,12 @@ fi rm $TMPFILE +# Check for required packages for compiling +if [[ -z "$(which dialog)" ]]; then + sudo apt update + sudo apt install -y dialog +fi + # Check for Vagrant if [[ "$1" == vagrant && -z "$(which vagrant)" ]]; then display_alert "Vagrant not installed." "Installing"