Skip to content

Commit

Permalink
add deb-src also for /etc/apt/sources.d/
Browse files Browse the repository at this point in the history
  • Loading branch information
wargio committed Dec 23, 2024
1 parent 60fcf35 commit 3c2cb2e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/distros.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,9 @@ jobs:
cat /etc/apt/sources.list > /tmp/sources.list.orig
cat /tmp/sources.list.orig | grep -v "#" | sed 's/^deb /deb-src /g' >> /etc/apt/sources.list
fi
if [ -d "/etc/apt/sources.d/" ]; then
cat /etc/apt/sources.d/* | grep -v "#" | sed 's/^deb /deb-src /g' >> /etc/apt/sources.d/all.list
fi
apt-get -qqy update
DEBIAN_FRONTEND=noninteractive apt-get -qqy --no-install-recommends install \
build-essential \
Expand Down

0 comments on commit 3c2cb2e

Please sign in to comment.