From 0ab9ba06144317d8406837135c073e2baaefff63 Mon Sep 17 00:00:00 2001 From: DeltaWhiplash Date: Thu, 1 Aug 2024 15:40:06 +0200 Subject: [PATCH] add dependencies install for the hub script installer --- supplemental/scripts/install-hub.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/supplemental/scripts/install-hub.sh b/supplemental/scripts/install-hub.sh index 2f899fe..ffcbfb6 100644 --- a/supplemental/scripts/install-hub.sh +++ b/supplemental/scripts/install-hub.sh @@ -49,6 +49,10 @@ else echo "Error: This script only supports Debian and Ubuntu distributions." exit 1 fi + + # Check if necessary packages are installed + sudo apt update + sudo apt install -y tar curl # Create a dedicated user for the service if ! id -u beszel > /dev/null 2>&1; then