From a4319d238e2076dd494cfcabecc82833420aa5a8 Mon Sep 17 00:00:00 2001 From: Yorick Barbanneau Date: Thu, 22 Feb 2018 16:21:00 +0100 Subject: [PATCH] URL for current version was incorrect --- init.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/init.sh b/init.sh index 7011534..daac3bc 100755 --- a/init.sh +++ b/init.sh @@ -220,7 +220,7 @@ then fi bootfiles_Debian="http://ftp.debian.org/debian/dists/jessie/main/installer-${debian_arch}/current/images/hd-media" -if [ $archive ] +if [ $archive -eq 1 ] then iso_url="http://cdimage.debian.org/cdimage/archive/${debian_version}/${debian_arch}/iso-cd" else @@ -236,6 +236,7 @@ printf "Downloading Debian files\n---\n" # Création du répertoire temporaire create_dir $repo_path cd $repo_path + download $iso_file $iso_url 1 for file in "vmlinuz" "initrd.gz" do