fix hampackserverupdate
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user