mirror of
https://github.com/fankes/beszel.git
synced 2025-10-20 02:09:28 +08:00
add dependencies install for the hub script installer
This commit is contained in:
@@ -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..."
|
||||||
|
Reference in New Issue
Block a user