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:
commit
e92ce42908
|
@ -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[@]}"
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user