Allow setting the local mirror in .mirror

debian-cd
Raphaël Hertzog 8 years ago
parent d1c52bc69e
commit f41fb8bb62

1
.gitignore vendored

@ -6,6 +6,7 @@ cache
chroot
chroot.packages.install
chroot.packages.live
.mirror
.stage
.lock
.build/

@ -3,8 +3,13 @@
set -e
set -o pipefail # Bashism
# You can put local mirrors here if you want
kali_mirror=http://archive.kali.org/kali
# You can put a local mirror here if you want (or you can set
# it in .mirror)
if [ -e .mirror ]; then
kali_mirror=$(cat .mirror)
else
kali_mirror=http://archive.kali.org/kali
fi
### DO NOT EDIT THE REST OF THIS FILE ###

Loading…
Cancel
Save