mirror of
https://github.com/nextcloud/vm.git
synced 2025-10-26 11:27:32 +00:00
whiptail is needed before everything else
Signed-off-by: Daniel Hansson <mailto@danielhansson.nu>
This commit is contained in:
parent
0e87ec8dc4
commit
e5210c7549
@ -28,6 +28,14 @@ else
|
||||
apt-get install curl -y
|
||||
fi
|
||||
|
||||
# Install whiptail if not existing
|
||||
if [ "$(dpkg-query -W -f='${Status}' "whiptail" 2>/dev/null | grep -c "ok installed")" = "1" ]
|
||||
then
|
||||
echo "whiptail OK"
|
||||
else
|
||||
apt-get install whiptail -y
|
||||
fi
|
||||
|
||||
true
|
||||
SCRIPT_NAME="Nextcloud Install Script"
|
||||
SCRIPT_EXPLAINER="This script is installing all requirements that are needed for Nextcloud to run.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user