[go: nahoru, domu]

Skip to content

Commit

Permalink
Update Debian source logic.
Browse files Browse the repository at this point in the history
  • Loading branch information
dnschneid committed Jul 7, 2021
1 parent 1d7c48f commit b76c779
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions targets/core
Original file line number Diff line number Diff line change
Expand Up @@ -82,14 +82,14 @@ deb $MIRROR $RELEASE main non-free contrib
deb-src $MIRROR $RELEASE main non-free contrib
EOF
# Only stable and testing have an updates channel
if release -lt jessie; then
if release -lt sid; then
cat >> /etc/apt/sources.list <<EOF
deb $MIRROR $RELEASE-updates main non-free contrib
deb-src $MIRROR $RELEASE-updates main non-free contrib
EOF
fi
# Some derivatives also have security updates
if release -lt jessie -eq kali; then
if release -le buster -eq kali; then
cat >> /etc/apt/sources.list <<EOF
deb $MIRROR2 $RELEASE/updates main non-free contrib
deb-src $MIRROR2 $RELEASE/updates main non-free contrib
Expand Down

0 comments on commit b76c779

Please sign in to comment.