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