Repository changes.

Former-commit-id: 04656ac1bb1a288895b143fb5f08ab3b59c0279f
Former-commit-id: 9bd5a4cd45465328c01b92b4f95053c0cb7570a1
This commit is contained in:
Kaj Forney 2018-10-23 15:07:19 -06:00
parent 0f03352587
commit 05eebe26e4
2 changed files with 7 additions and 1 deletions

View file

@ -106,3 +106,9 @@ echo "Enabling cryptsetup initramfs support"
sed -i "s/#CRYPTSETUP=/CRYPTSETUP=y/" /etc/cryptsetup-initramfs/conf-hook || true
update-initramfs -c -u -t -k all || true
mv /etc/apt/sources.list.d/parrot.list /etc/apt/sources.list.d/parrot.list.orig
echo "## stable repository" >> /etc/apt/sources.list.d/parrot.list
echo "deb http://172.30.0.240/parrot stable main contrib non-free" >> /etc/apt/sources.list.d/parrot.list
echo "#deb-src http://archive.parrotsec.org/parrot stable main contrib non-free" >> /etc/apt/sources.list.d/parrot.list

View file

@ -96,7 +96,7 @@ Parrot)
if [ $REPO != "default" ];
then
sed -i "s|archive.parrotsec.org|$REPO|g" ./build/parrot-build/auto/config
#sed -i "s|deb.parrotsec.org|$REPO|g" ./build/parrot-build/templates/common/archives/parrot.list
sed -i "s|deb.parrotsec.org|$REPO|g" ./build/parrot-build/templates/common/archives/parrot.list
fi
cd build/parrot-build