From 2fcb7e556026b741e512c7a5a2f10894282f2c6e Mon Sep 17 00:00:00 2001 From: Gardais Jeremy Date: Mon, 4 Jul 2016 17:05:17 +0200 Subject: [PATCH] Use tabulations instead of white spaces. --- scripts/download_ubuntu.sh | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/scripts/download_ubuntu.sh b/scripts/download_ubuntu.sh index 8a923b7..e304b15 100755 --- a/scripts/download_ubuntu.sh +++ b/scripts/download_ubuntu.sh @@ -1,8 +1,8 @@ #!/bin/bash # This script do the following: -# Download last Ubuntu LTS (14.04) -# Download Ubuntu 13.10 +# Download last Ubuntu LTS (14.04) +# Download Ubuntu 13.10 TFTP_ROOT="/var/lib/tftpboot" @@ -10,13 +10,13 @@ TFTP_ROOT="/var/lib/tftpboot" LTS="trusty" for DISTRO in saucy ${LTS}; do - for ARCH in amd64 i386; do - mkdir -p ${TFTP_ROOT}/installer/ubuntu/${DISTRO}/${ARCH} - pushd ${TFTP_ROOT}/installer/ubuntu/${DISTRO}/${ARCH} - wget http://fr.archive.ubuntu.com/ubuntu/dists/${DISTRO}/main/installer-${ARCH}/current/images/netboot/ubuntu-installer/${ARCH}/linux -O linux - wget http://fr.archive.ubuntu.com/ubuntu/dists/${DISTRO}/main/installer-${ARCH}/current/images/netboot/ubuntu-installer/${ARCH}/initrd.gz -O initrd.gz - popd - done + for ARCH in amd64 i386; do + mkdir -p ${TFTP_ROOT}/installer/ubuntu/${DISTRO}/${ARCH} + pushd ${TFTP_ROOT}/installer/ubuntu/${DISTRO}/${ARCH} + wget http://fr.archive.ubuntu.com/ubuntu/dists/${DISTRO}/main/installer-${ARCH}/current/images/netboot/ubuntu-installer/${ARCH}/linux -O linux + wget http://fr.archive.ubuntu.com/ubuntu/dists/${DISTRO}/main/installer-${ARCH}/current/images/netboot/ubuntu-installer/${ARCH}/initrd.gz -O initrd.gz + popd + done done # Link the LTS distribution name to lts