„install-xash3ds.sh“ ändern

added missing packages, apt update was missing
This commit is contained in:
DeltaLima 2022-08-23 09:25:57 +00:00
parent 7088c58221
commit 142fa6c9a6

View file

@ -13,7 +13,7 @@ jk_botti_url="http://koti.kapsi.fi/jukivili/web/jk_botti/jk_botti-$jk_botti_vers
if [ "$1" == "client" ] if [ "$1" == "client" ]
then then
CLIENT=true CLIENT=true
PACKAGES="build-essential gcc-multilib g++-multilib python libsdl2-dev:i386 libfontconfig-dev:i386 libfreetype6-dev:i386" PACKAGES="git curl build-essential gcc-multilib g++-multilib python2 libsdl2-dev:i386 libfontconfig-dev:i386 libfreetype6-dev:i386"
WAF_OPTION="" WAF_OPTION=""
export PKG_CONFIG_PATH=/usr/lib/i386-linux-gnu/pkgconfig export PKG_CONFIG_PATH=/usr/lib/i386-linux-gnu/pkgconfig
else else
@ -36,6 +36,7 @@ mkdir -p $XASH3D_BASEDIR/result
#fi #fi
sudo dpkg --add-architecture i386 sudo dpkg --add-architecture i386
sudo apt update
sudo apt-get install -y --no-install-recommends $PACKAGES sudo apt-get install -y --no-install-recommends $PACKAGES
## compile xash3ds ## compile xash3ds