mirror of
https://github.com/kforney/pentest-distro-builder.git
synced 2024-11-21 17:40:57 -07:00
Fix reruns with deb downloads.
Former-commit-id: dfc5db7c5eb915a67b4a4f7a83c94d3b6d1b4ffc Former-commit-id: efaca62f5a9432d903f4bf4569bd8f1b8e153482
This commit is contained in:
parent
6a1025cbac
commit
406fa62661
2 changed files with 6 additions and 4 deletions
|
@ -1,15 +1,15 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
#Discord
|
#Discord
|
||||||
wget -O discord.deb "https://discordapp.com/api/download?platform=linux&format=deb"
|
wget -O ../build/discord.deb "https://discordapp.com/api/download?platform=linux&format=deb"
|
||||||
|
|
||||||
#Resilio Sync
|
#Resilio Sync
|
||||||
wget -O resilio.deb "https://download-cdn.resilio.com/2.6.3/Debian/resilio-sync_2.6.3-1_amd64.deb"
|
wget -O ../build/resilio.deb "https://download-cdn.resilio.com/2.6.3/Debian/resilio-sync_2.6.3-1_amd64.deb"
|
||||||
|
|
||||||
#VS Code (OSS)
|
#VS Code (OSS)
|
||||||
wget -O code.deb "https://github.com/VSCodium/vscodium/releases/download/1.37.1/codium_1.37.1-1565952268_amd64.deb"
|
wget -O ../build/code.deb "https://github.com/VSCodium/vscodium/releases/download/1.37.1/codium_1.37.1-1565952268_amd64.deb"
|
||||||
|
|
||||||
#Slack
|
#Slack
|
||||||
wget -O slack.deb "https://downloads.slack-edge.com/linux_releases/slack-desktop-4.0.2-amd64.deb"
|
wget -O ../build/slack.deb "https://downloads.slack-edge.com/linux_releases/slack-desktop-4.0.2-amd64.deb"
|
||||||
|
|
||||||
exit 0
|
exit 0
|
2
runme.sh
2
runme.sh
|
@ -65,6 +65,7 @@ fi
|
||||||
cd ./debs
|
cd ./debs
|
||||||
bash get-debs.sh
|
bash get-debs.sh
|
||||||
dpkg-name *.deb
|
dpkg-name *.deb
|
||||||
|
dpkg-name ./build/*.deb
|
||||||
cd ..
|
cd ..
|
||||||
rm -rf build
|
rm -rf build
|
||||||
mkdir build
|
mkdir build
|
||||||
|
@ -76,6 +77,7 @@ Kali)
|
||||||
cp -rv ./modules/live-build-config ./build/
|
cp -rv ./modules/live-build-config ./build/
|
||||||
mkdir ./build/live-build-config/kali-config/variant-$DESKTOP/packages.chroot
|
mkdir ./build/live-build-config/kali-config/variant-$DESKTOP/packages.chroot
|
||||||
cp ./debs/*.deb build/live-build-config/kali-config/variant-$DESKTOP/packages.chroot/
|
cp ./debs/*.deb build/live-build-config/kali-config/variant-$DESKTOP/packages.chroot/
|
||||||
|
cp ./build/debs/*.deb build/live-build-config/kali-config/variant-$DESKTOP/packages.chroot/
|
||||||
cp -rv filesystem/* ./build/live-build-config/kali-config/common/includes.chroot/
|
cp -rv filesystem/* ./build/live-build-config/kali-config/common/includes.chroot/
|
||||||
cp config/software.list.chroot ./build/live-build-config/kali-config/variant-$DESKTOP/package-lists/
|
cp config/software.list.chroot ./build/live-build-config/kali-config/variant-$DESKTOP/package-lists/
|
||||||
cp config/pentest-distro-builder.chroot ./build/live-build-config/kali-config/common/hooks/live/
|
cp config/pentest-distro-builder.chroot ./build/live-build-config/kali-config/common/hooks/live/
|
||||||
|
|
Loading…
Reference in a new issue