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
chroot.packages.install chroot.packages.install
chroot.packages.live chroot.packages.live
.mirror
.stage .stage
.lock .lock
.build/ .build/

@ -3,8 +3,13 @@
set -e set -e
set -o pipefail # Bashism set -o pipefail # Bashism
# You can put local mirrors here if you want # You can put a local mirror here if you want (or you can set
kali_mirror=http://archive.kali.org/kali # 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 ### ### DO NOT EDIT THE REST OF THIS FILE ###

Loading…
Cancel
Save