Browse Source

Make buildPackages.sh install dependencies

pull/328/merge
Tux3 / Mlkj / !Lev.uXFMLA 11 years ago
parent
commit
702daa987b
No known key found for this signature in database
GPG Key ID: 7E086DD661263264
  1. 10
      tools/buildPackages.sh

10
tools/buildPackages.sh

@ -62,6 +62,16 @@ if [[ $OPT_APT = "true" ]]; then @@ -62,6 +62,16 @@ if [[ $OPT_APT = "true" ]]; then
fi
fi
# Get the requried dependencies if needed
if [[ $OPT_APT = "true" ]]; then
echo "Installing missing dependencies (if any)..."
if [[ $EUID -ne 0 && $OPT_SUDO = "true" ]]; then
sudo apt-get install qt5-qmake libopenal-dev libopencv-dev libopus-dev -y
else
apt-get install qt5-qmake libopenal-dev libopencv-dev libopus-dev -y
fi
fi
mkdir -p .packages
cd .packages

Loading…
Cancel
Save