summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2010-11-30 10:17:35 +0100
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:20:37 +0100
commited422781550e0e1272605b3ba46157d46cac8573 (patch)
tree1953aeb78a46b397c4f4fc0553ca1b3aca925982 /scripts
parenta7f2e1b876d320df1b03fb0ca7c859e7d59c28d5 (diff)
downloadvyos-live-build-ed422781550e0e1272605b3ba46157d46cac8573.tar.gz
vyos-live-build-ed422781550e0e1272605b3ba46157d46cac8573.zip
Once again updating volatile urls for squeeze.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/build/lb_chroot_sources22
1 files changed, 2 insertions, 20 deletions
diff --git a/scripts/build/lb_chroot_sources b/scripts/build/lb_chroot_sources
index 79e4232f5..5b77f6537 100755
--- a/scripts/build/lb_chroot_sources
+++ b/scripts/build/lb_chroot_sources
@@ -87,16 +87,7 @@ EOF
if [ "${LB_VOLATILE}" = "true" ]
then
case "${LB_MODE}" in
- debian|debian-release)
- echo "deb ${LB_MIRROR_CHROOT_VOLATILE} ${LB_DISTRIBUTION}-volatile ${LB_ARCHIVE_AREAS}" >> chroot/etc/apt/sources.list
-
- if [ "${LB_SOURCE}" = "true" ]
- then
- echo "deb-src ${LB_MIRROR_CHROOT_VOLATILE} ${LB_DISTRIBUTION}-volatile ${LB_ARCHIVE_AREAS}" >> chroot/etc/apt/sources.list
- fi
- ;;
-
- ubuntu)
+ debian|debian-release|ubuntu)
echo "deb ${LB_MIRROR_CHROOT_VOLATILE} ${LB_DISTRIBUTION}-updates ${LB_ARCHIVE_AREAS}" >> chroot/etc/apt/sources.list
if [ "${LB_SOURCE}" = "true" ]
@@ -528,16 +519,7 @@ EOF
if [ "${LB_VOLATILE}" = "true" ]
then
case "${LB_MODE}" in
- debian|debian-release)
- echo "deb ${LB_MIRROR_BINARY_VOLATILE} ${LB_DISTRIBUTION}-volatile ${LB_ARCHIVE_AREAS}" >> chroot/etc/apt/sources.list
-
- if [ "${LB_SOURCE}" = "true" ]
- then
- echo "deb-src ${LB_MIRROR_BINARY_VOLATILE} ${LB_DISTRIBUTION}/volatile ${LB_ARCHIVE_AREAS}" >> chroot/etc/apt/sources.list
- fi
- ;;
-
- ubuntu)
+ debian|debian-release|ubuntu)
echo "deb ${LB_MIRROR_BINARY_VOLATILE} ${LB_DISTRIBUTION}-updates ${LB_ARCHIVE_AREAS}" >> chroot/etc/apt/sources.list
if [ "${LB_SOURCE}" = "true" ]