mirror of
https://github.com/kforney/pentest-distro-builder.git
synced 2024-11-21 01:30:11 -07:00
Change default Kali repo domain.
This commit is contained in:
parent
a6fae28c2b
commit
60bde2fa48
2 changed files with 2 additions and 2 deletions
|
@ -28,7 +28,7 @@ fi
|
|||
if [ $REPO != "default" ];
|
||||
then
|
||||
sudo cp /etc/apt/sources.list /etc/apt/sources.list.original
|
||||
sudo sed -i "s|archive.kali.org|$REPO|g" /etc/apt/sources.list
|
||||
sudo sed -i "s|http.kali.org|$REPO|g" /etc/apt/sources.list
|
||||
fi
|
||||
|
||||
sudo apt update
|
||||
|
|
2
runme.sh
2
runme.sh
|
@ -83,7 +83,7 @@ Kali)
|
|||
|
||||
if [ $REPO != "default" ];
|
||||
then
|
||||
sed -i "s|archive.kali.org|$REPO|g" ./build/live-build-config/auto/config
|
||||
sed -i "s|http.kali.org|$REPO|g" ./build/live-build-config/auto/config
|
||||
fi
|
||||
|
||||
cd build/live-build-config
|
||||
|
|
Loading…
Reference in a new issue