mirror of
https://github.com/kforney/pentest-distro-builder.git
synced 2024-11-21 17:40:57 -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" ];
|
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
|
||||||
|
|
2
runme.sh
2
runme.sh
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue