Correctly substitute release into security suite name.

This commit is contained in:
Stefano Rivera 2011-04-24 17:08:29 +02:00
parent cd533a92cb
commit 427aad7b15
2 changed files with 3 additions and 2 deletions

1
debian/changelog vendored
View File

@ -7,6 +7,7 @@ ubuntu-dev-tools (0.123) UNRELEASED; urgency=low
- Determine distribution from release name (via distro-info).
- Reformat manpage.
- Install qemu-user-static instead of qemu-kvm-extras-static.
- Correctly substitute release into security suite name.
-- Stefano Rivera <stefanor@debian.org> Sun, 24 Apr 2011 12:45:31 +0200

View File

@ -352,7 +352,7 @@ ubuntu)
COMPONENTS="main restricted universe multiverse"
fi
if [ -z "$SOURCES_SECURITY_SUITE" ]; then
SOURCES_SECURITY_SUITE="RELEASE-security"
SOURCES_SECURITY_SUITE="${RELEASE}-security"
fi
if [ -z "$SOURCES_SECURITY_URL" ]; then
case "$CHROOT_ARCH" in
@ -389,7 +389,7 @@ debian)
# Debian only performs security updates
SKIP_UPDATES=1
if [ -z "$SOURCES_SECURITY_SUITE" ]; then
SOURCES_SECURITY_SUITE="RELEASE/updates"
SOURCES_SECURITY_SUITE="$RELEASE/updates"
fi
if [ -z "$SOURCES_SECURITY_URL" ]; then
SOURCES_SECURITY_URL="http://security.debian.org/"