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

Merge pull request #3683

Vincas Dargis (1):
      fix(build): enable backports repository for Debian Jessie
This commit is contained in:
Zetok Zalbavar 2016-09-04 19:22:15 +01:00
commit e92ce42908
No known key found for this signature in database
GPG Key ID: C953D3880212068A

View File

@ -28,6 +28,16 @@ apt_install() {
qt5-qmake
qttools5-dev-tools
)
local codename=$(lsb_release -c -s)
# Enable Debian Jessie backports repository for libsqlcipher-dev (if not yet enabled)
if [ ${codename} == jessie ] && [ $(apt-cache policy | fgrep jessie-backports -c) == 0 ]
then
echo "deb http://httpredir.debian.org/debian jessie-backports main" | sudo tee /etc/apt/sources.list.d/qtox-backports.list
sudo apt-get update
fi
sudo apt-get install "${apt_packages[@]}"
}