Skip to content
This repository has been archived by the owner on Feb 12, 2023. It is now read-only.

Commit

Permalink
fix(build): enable backports repository for Debian Jessie
Browse files Browse the repository at this point in the history
Enable jessie-backports repository for libsqlcipher-dev package
in Debian Jessie by creating qtox-backports.list file if
repository is not enabled yet.

Closes #3679
  • Loading branch information
Talkless committed Sep 4, 2016
1 parent 76c4cf7 commit fb5639b
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions simple_make.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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[@]}"
}

Expand Down

0 comments on commit fb5639b

Please sign in to comment.