mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
Install compile dependency dialog if missing
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user