From a08689ff3c7d52a66a31c25f296ec641bdf385ec Mon Sep 17 00:00:00 2001 From: Marcus Date: Sun, 14 Jan 2024 23:49:51 +0100 Subject: [PATCH] dirty fix --- install-xash3d.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install-xash3d.sh b/install-xash3d.sh index a698355..2e2cbde 100755 --- a/install-xash3d.sh +++ b/install-xash3d.sh @@ -216,7 +216,7 @@ case $XASH_INSTALL_MODE in 0.20) cd ${XASH_GIT_DIR} # as of 14.01.2024 master branch does not compile , going back to last known working commit - git checkout 0132eb6e44cb4a414d400c9ba42e5b4a94dcb590 # last with xash binary # last compiles 5ac8f63741c25c73ab771fb10211a320031c12dd + test "$XASH_INSTALL_TYPE" == "server" && git checkout 0132eb6e44cb4a414d400c9ba42e5b4a94dcb590 # last with xash binary # last compiles 5ac8f63741c25c73ab771fb10211a320031c12dd ;; esac @@ -249,7 +249,7 @@ case $XASH_INSTALL_MODE in checkerror $? fi checkerror $? - ### git pull + test "$XASH_INSTALL_TYPE" != "server" && git pull checkerror $? ;; esac