fix install error

This commit is contained in:
t3chn0m4g3 2020-06-30 12:04:12 +00:00
parent 04e3748781
commit 3c32c9ca88
2 changed files with 6 additions and 3 deletions

View file

@ -701,8 +701,11 @@ pip3 install elasticsearch-curator yq
hash -r
# Cloning T-Pot from GitHub
fuBANNER "Cloning T-Pot"
git clone https://github.com/dtag-dev-sec/tpotce -b dev /opt/tpot
if ! [ "$myTPOT_DEPLOYMENT_TYPE" == "iso" ];
then
fuBANNER "Cloning T-Pot"
git clone https://github.com/dtag-dev-sec/tpotce -b dev /opt/tpot
fi
# Let's create the T-Pot user
fuBANNER "Create user"

View file

@ -131,7 +131,7 @@ in-target apt-get -y install grub-pc; \
in-target grub-install --force $(debconf-get partman-auto/disk); \
update-dev; \
in-target update-grub; \
#in-target git clone --depth=1 https://github.com/dtag-dev-sec/tpotce -b dev /opt/tpot; \
in-target git clone --depth=1 https://github.com/dtag-dev-sec/tpotce -b dev /opt/tpot; \
in-target sed -i 's/allow-hotplug/auto/g' /etc/network/interfaces; \
#in-target apt-get -y remove exim4-base; \
#in-target apt-get -y autoremove; \