'Backports' Debian repo not appended to pre-existing sources file instead of creating a new one
This commit is contained in:
@@ -115,7 +115,9 @@ Pin: release n=${UBUNTU_VERSION_CODENAME}-backports
|
|||||||
Pin-Priority: -1
|
Pin-Priority: -1
|
||||||
EOF
|
EOF
|
||||||
elif [[ "${ID}" == 'debian' ]]; then
|
elif [[ "${ID}" == 'debian' ]]; then
|
||||||
cat << EOF | tee /etc/apt/sources.list.d/backports.sources &> /dev/null
|
cat << EOF | tee --append /etc/apt/sources.list.d/${VERSION_CODENAME}.sources &> /dev/null
|
||||||
|
|
||||||
|
# ${VERSION_CODENAME^} Backports
|
||||||
Enabled: yes
|
Enabled: yes
|
||||||
Types: deb deb-src
|
Types: deb deb-src
|
||||||
URIs: http://deb.debian.org/debian/
|
URIs: http://deb.debian.org/debian/
|
||||||
|
Reference in New Issue
Block a user