Change default Kali repo domain.

This commit is contained in:
Kaj Forney 2020-11-23 16:31:04 -07:00
parent a6fae28c2b
commit 60bde2fa48
Signed by: kforney
GPG key ID: 3AB4E2E04CEF656F
2 changed files with 2 additions and 2 deletions

View file

@ -28,7 +28,7 @@ fi
if [ $REPO != "default" ]; if [ $REPO != "default" ];
then then
sudo cp /etc/apt/sources.list /etc/apt/sources.list.original 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 fi
sudo apt update sudo apt update

View file

@ -83,7 +83,7 @@ Kali)
if [ $REPO != "default" ]; if [ $REPO != "default" ];
then 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 fi
cd build/live-build-config cd build/live-build-config