URL for current version was incorrect
This commit is contained in:
parent
0701bf4323
commit
a4319d238e
1 changed files with 2 additions and 1 deletions
3
init.sh
3
init.sh
|
@ -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
|
||||||
|
|
Reference in a new issue