Skip to content
This repository has been archived by the owner on Aug 22, 2024. It is now read-only.

Commit

Permalink
Dont install ambuild when its already done
Browse files Browse the repository at this point in the history
  • Loading branch information
marqdevx committed Feb 29, 2024
1 parent 99bca95 commit b394af0
Showing 1 changed file with 18 additions and 8 deletions.
26 changes: 18 additions & 8 deletions docker-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,28 @@ export MMSOURCE_DEV='/dockerVolume/metamod-source'
export CC=clang
export CXX=clang++

clear

echo --------------------------------------------------------------------------
echo Starting steam sniper compilator for metamod
echo

apt-get update
apt-get install python3-setuptools -y
apt-get install clang -y
apt-get install python3 -y
apt-get install gcc -y

cd "/dockerVolume/ambuild"
python3 setup.py install
if [ "$(which "ambuild")" != "" ];
then
echo "AMBUILD installed"
else
echo "Installing ambuild"

apt-get update
apt-get install python3-setuptools -y
apt-get install clang -y
apt-get install python3 -y
apt-get install gcc -y

cd "/dockerVolume/ambuild" && python3 setup.py install

echo "AMBUILD Installed"
fi

cd "/dockerVolume/mm-cs2-scrim"
mkdir build
Expand Down

0 comments on commit b394af0

Please sign in to comment.