From 927a776d13b32d97c167369fd0e5d2f5bd4eb04c Mon Sep 17 00:00:00 2001 From: Brad Stein Date: Fri, 4 Jul 2025 18:30:28 -0500 Subject: [PATCH] install features --- scripts/install/server.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/install/server.sh b/scripts/install/server.sh index ca63dea..b1322e9 100755 --- a/scripts/install/server.sh +++ b/scripts/install/server.sh @@ -95,10 +95,10 @@ if [[ ! -d $SRC_DIR ]]; then sudo chown "$ORIG_USER":"$ORIG_USER" /var/src fi if [[ -d $SRC_DIR/.git ]]; then - sudo -u "$ORIG_USER" git -C "$SRC_DIR" pull --ff-only + sudo -u "$ORIG_USER" git -C "$SRC_DIR" fetch --all --tags --prune else sudo -u "$ORIG_USER" git clone "$REPO_URL" "$SRC_DIR" -fip +fi if sudo -u "$ORIG_USER" git -C "$SRC_DIR" rev-parse --verify --quiet "origin/$REF" >/dev/null; then sudo -u "$ORIG_USER" git -C "$SRC_DIR" checkout -B "$REF" "origin/$REF"