2021-01-24 02:35:53 +01:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
|
|
|
# Source OS Release
|
|
|
|
source /etc/os-release
|
|
|
|
|
|
|
|
# When Debian add backports
|
|
|
|
if [ "${ID}" == "debian" ]; then
|
|
|
|
echo "deb http://deb.debian.org/debian ${VERSION_CODENAME}-backports main" >> /etc/apt/sources.list
|
|
|
|
fi
|
2017-12-23 07:48:01 +01:00
|
|
|
|
|
|
|
# Install packages
|
|
|
|
apt-get update -qq && \
|
2021-01-24 02:35:53 +01:00
|
|
|
apt-get install -qq ${APT_INSTALL} checkinstall cmake dpkg-dev fakeroot g++ gcc qtbase5-dev qt5-qmake qttranslations5-l10n libqt5svg5-dev
|