fix hampackserverupdate

This commit is contained in:
David Young
2026-04-30 11:53:28 -06:00
parent 48c707cbc3
commit 0c9e0b431f

View File

@@ -50,13 +50,13 @@ fi
# Updating the repo and installing...
echo "Updating HamPackServer..."
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
REPO_DIR="$HOME/.local/share/HamPackServer"
echo "Pulling latest HamPackServer repo..."
git -C "$SCRIPT_DIR" pull
git -C "$REPO_DIR" pull
echo "Running install.sh..."
bash "$SCRIPT_DIR/install.sh"
bash "$REPO_DIR/install.sh"
# Check whether the running kernel matches the installed modules — if not, a
# newer kernel was installed during this run and a reboot is required