gta5view/.ci/debian_install.sh
Syping d4a6db068b
All checks were successful
continuous-integration/drone/push Build is passing
CI: Add Debian backports before updating
2021-01-24 02:35:53 +01:00

13 lines
415 B
Bash
Executable file

#!/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
# Install packages
apt-get update -qq && \
apt-get install -qq ${APT_INSTALL} checkinstall cmake dpkg-dev fakeroot g++ gcc qtbase5-dev qt5-qmake qttranslations5-l10n libqt5svg5-dev