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

View file

@ -191,7 +191,7 @@ then
checkerror $? checkerror $?
fi fi
if [ "$XASH_INSTALL_MODE" == "install" ] if [ "$XASH_INSTALL_MODE" == "install" ] && [ ! $NOAPT ]
then then
message info "Performing apt install" message info "Performing apt install"
sudo dpkg --add-architecture i386 sudo dpkg --add-architecture i386