Skip to content

Commit

Permalink
Missing script to add the Ubuntu repos to APT
Browse files Browse the repository at this point in the history
  • Loading branch information
martinburchell committed Jul 21, 2023
1 parent a6b0054 commit d779d34
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/scripts/add_apt_sources.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/usr/bin/env bash

# https://wiki.qt.io/Building_Qt_6_from_Git
set -eux -o pipefail
codename=`lsb_release -cs`
echo "deb-src http://archive.ubuntu.com/ubuntu ${codename} universe" | sudo tee -a /etc/apt/sources.list
echo "deb-src http://archive.ubuntu.com/ubuntu ${codename}-updates universe" | sudo tee -a /etc/apt/sources.list
sudo apt-get update -o APT::Update::Error-Mode=any

0 comments on commit d779d34

Please sign in to comment.