1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

Make buildPackages.sh install dependencies

This commit is contained in:
Tux3 / Mlkj / !Lev.uXFMLA 2014-09-27 21:25:42 +02:00
parent f6176e4a3c
commit 702daa987b
No known key found for this signature in database
GPG Key ID: 7E086DD661263264

View File

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