URL for current version was incorrect

This commit is contained in:
Yorick Barbanneau 2018-02-22 16:21:00 +01:00
parent 0701bf4323
commit a4319d238e

View file

@ -220,7 +220,7 @@ then
fi fi
bootfiles_Debian="http://ftp.debian.org/debian/dists/jessie/main/installer-${debian_arch}/current/images/hd-media" bootfiles_Debian="http://ftp.debian.org/debian/dists/jessie/main/installer-${debian_arch}/current/images/hd-media"
if [ $archive ] if [ $archive -eq 1 ]
then then
iso_url="http://cdimage.debian.org/cdimage/archive/${debian_version}/${debian_arch}/iso-cd" iso_url="http://cdimage.debian.org/cdimage/archive/${debian_version}/${debian_arch}/iso-cd"
else else
@ -236,6 +236,7 @@ printf "Downloading Debian files\n---\n"
# Création du répertoire temporaire # Création du répertoire temporaire
create_dir $repo_path create_dir $repo_path
cd $repo_path cd $repo_path
download $iso_file $iso_url 1 download $iso_file $iso_url 1
for file in "vmlinuz" "initrd.gz" for file in "vmlinuz" "initrd.gz"
do do