From 8a8fd73351909198e339fbd01854151f664c27d4 Mon Sep 17 00:00:00 2001 From: Fabio Rehm Date: Wed, 8 May 2013 15:25:02 -0300 Subject: [PATCH] Minor tweaks to download scripts for debian boxes download --- boxes/debian/download | 6 +++--- boxes/debian/lxc-template | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/boxes/debian/download b/boxes/debian/download index fd6f95a..f6a9407 100755 --- a/boxes/debian/download +++ b/boxes/debian/download @@ -1,7 +1,7 @@ #!/bin/bash # This is the code extracted from /usr/share/lxc/templates/lxc-debian -# that comes with Ubuntu 12.10 which is responsible for downloading the +# that comes with Ubuntu 13.04 which is responsible for downloading the # rootfs files / packages set -e @@ -98,7 +98,7 @@ ca-certificates trap cleanup EXIT SIGHUP SIGINT SIGTERM # check the mini debian was not already downloaded - partial=${cache}/partial-${release}-${arch} + partial=${cache}/partial mkdir -p ${partial} if [ $? -ne 0 ]; then echo "Failed to create '${partial}' directory" @@ -146,7 +146,7 @@ declare cache=`readlink -f .` \ arch=$1 \ release=$2 -if [ -d ${cache}/rootfs-${release}-${arch} ]; then +if [ -d ${cache}/rootfs ]; then echo <