Skip to content

Commit

Permalink
enable multilib repo on builder containers (#98)
Browse files Browse the repository at this point in the history
  • Loading branch information
Lukas-Heiligenbrunner authored Oct 4, 2024
1 parent ed0cbae commit 5e8c39b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docker/add-aur.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ set -o xtrace

AUR_USER="${1:-ab}"

# Enable the multilib repository
sed -i '/#\[multilib\]/s/^#//' /etc/pacman.conf
sed -i '/#Include = \/etc\/pacman.d\/mirrorlist/s/^#//' /etc/pacman.conf

# we're gonna need sudo to use the helper properly
pacman -Sy --noconfirm
pacman --sync --needed --noconfirm --noprogressbar sudo base-devel git || echo "Nothing to do"
Expand Down

0 comments on commit 5e8c39b

Please sign in to comment.