Removing obsolete debian-backports auto-configuration.

This commit is contained in:
Daniel Baumann 2011-03-24 20:26:29 +01:00
parent ef1a33bc14
commit 2d25d1f140
1 changed files with 0 additions and 33 deletions

View File

@ -393,15 +393,7 @@ Local_arguments ()
-d|--distribution)
LB_DISTRIBUTION="${2}"
BACKPORTS="false"
shift 2
case "${LB_DISTRIBUTION}" in
squeeze-backports)
LB_DISTRIBUTION="squeeze"
BACKPORTS="true"
;;
esac
;;
--parent-distribution)
@ -1413,31 +1405,6 @@ then
fi
fi
if [ "${BACKPORTS}" = "true" ]
then
# Adding sources.list entry
cat > config/chroot_sources/${LB_DISTRIBUTION}-backports.chroot << EOF
# Backports Maintainers
deb http://backports.debian.org/debian-backports/ ${LB_DISTRIBUTION}-backports ${LB_ARCHIVE_AREAS}
deb-src http://backports.debian.org/debian-backports/ ${LB_DISTRIBUTION}-backports ${LB_ARCHIVE_AREAS}
EOF
cp config/chroot_sources/${LB_DISTRIBUTION}-backports.chroot config/chroot_sources/${LB_DISTRIBUTION}-backports.binary
# Adding apt preferences
if ! grep -qs "^Pin: release o=Debian Backports" config/chroot_apt/preferences
then
cat >> config/chroot_apt/preferences << EOF
Package: *
Pin: release o=Debian Backports
Pin-Priority: 999
EOF
fi
fi
# Checking defaults again
Check_defaults