fix typo in install scripts

This commit is contained in:
henrygd
2025-07-10 15:10:44 -04:00
parent 780644eeae
commit cd9e0f7b5b
2 changed files with 11 additions and 11 deletions

View File

@@ -144,7 +144,7 @@ while [ $# -gt 0 ]; do
shift shift
HUB_URL="$1" HUB_URL="$1"
;; ;;
-v|--version) -v | --version)
shift shift
VERSION="$1" VERSION="$1"
;; ;;
@@ -353,8 +353,8 @@ if is_alpine; then
fi fi
# Add the user to the docker group to allow access to the Docker socket if group docker exists # Add the user to the docker group to allow access to the Docker socket if group docker exists
if getent group docker; then if getent group docker; then
echo "Adding besel to docker group" echo "Adding beszel to docker group"
usermod -aG docker beszel usermod -aG docker beszel
fi fi
else else
@@ -362,10 +362,10 @@ else
echo "Creating a dedicated user for the Beszel Agent service..." echo "Creating a dedicated user for the Beszel Agent service..."
useradd --system --home-dir /nonexistent --shell /bin/false beszel useradd --system --home-dir /nonexistent --shell /bin/false beszel
fi fi
# Add the user to the docker group to allow access to the Docker socket if group docker exists # Add the user to the docker group to allow access to the Docker socket if group docker exists
if getent group docker; then if getent group docker; then
echo "Adding besel to docker group" echo "Adding beszel to docker group"
usermod -aG docker beszel usermod -aG docker beszel
fi fi
fi fi

View File

@@ -323,8 +323,8 @@ if is_alpine; then
fi fi
# Add the user to the docker group to allow access to the Docker socket if group docker exists # Add the user to the docker group to allow access to the Docker socket if group docker exists
if getent group docker; then if getent group docker; then
echo "Adding besel to docker group" echo "Adding beszel to docker group"
usermod -aG docker beszel usermod -aG docker beszel
fi fi
else else
@@ -332,10 +332,10 @@ else
echo "Creating a dedicated user for the Beszel Agent service..." echo "Creating a dedicated user for the Beszel Agent service..."
useradd --system --home-dir /nonexistent --shell /bin/false beszel useradd --system --home-dir /nonexistent --shell /bin/false beszel
fi fi
# Add the user to the docker group to allow access to the Docker socket if group docker exists # Add the user to the docker group to allow access to the Docker socket if group docker exists
if getent group docker; then if getent group docker; then
echo "Adding besel to docker group" echo "Adding beszel to docker group"
usermod -aG docker beszel usermod -aG docker beszel
fi fi
fi fi