From ea5ee0719e04d2d55d8978423cb4c89e4208b44a Mon Sep 17 00:00:00 2001 From: Marcus Date: Wed, 24 Jan 2024 00:59:00 +0100 Subject: [PATCH] add env var NOAPT to disable apt-get during installation --- install-xash3d.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install-xash3d.sh b/install-xash3d.sh index af2b4e4..e6783ad 100755 --- a/install-xash3d.sh +++ b/install-xash3d.sh @@ -191,7 +191,7 @@ then checkerror $? fi -if [ "$XASH_INSTALL_MODE" == "install" ] +if [ "$XASH_INSTALL_MODE" == "install" ] && [ ! $NOAPT ] then message info "Performing apt install" sudo dpkg --add-architecture i386