add env var NOAPT to disable apt-get during installation

This commit is contained in:
Marcus 2024-01-24 00:59:00 +01:00
parent 1ec3fa80d3
commit ea5ee0719e
1 changed files with 1 additions and 1 deletions

View File

@ -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