summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-x.github/tools/install_ubuntu_packages.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/.github/tools/install_ubuntu_packages.sh b/.github/tools/install_ubuntu_packages.sh
index 1a31ca47..4c886134 100755
--- a/.github/tools/install_ubuntu_packages.sh
+++ b/.github/tools/install_ubuntu_packages.sh
@@ -7,6 +7,6 @@ echo "Detected VERSION_CODENAME: $VERSION_CODENAME"
sudo add-apt-repository -y "deb [arch=amd64] http://archive.ubuntu.com/ubuntu $VERSION_CODENAME \
main universe"
# Install gcc
-sudo apt-get -y update && sudo apt-get -y install gcc-$1
+sudo apt-get -y install gcc-$1 --no-upgrade --no-install-recommends --no-install-suggests
# Install dependencies
-sudo apt-get -y install make gcc libudev-dev devscripts
+sudo apt-get -y install make gcc libudev-dev devscripts --no-upgrade --no-install-recommends --no-install-suggests