add dependencies install for the hub script installer

This commit is contained in:
DeltaWhiplash
2024-08-01 15:40:06 +02:00
parent d809704ab3
commit 0ab9ba0614

View File

@@ -50,6 +50,10 @@ else
exit 1 exit 1
fi fi
# Check if necessary packages are installed
sudo apt update
sudo apt install -y tar curl
# Create a dedicated user for the service # Create a dedicated user for the service
if ! id -u beszel > /dev/null 2>&1; then if ! id -u beszel > /dev/null 2>&1; then
echo "Creating a dedicated user for the Beszel Hub service..." echo "Creating a dedicated user for the Beszel Hub service..."