Skip to content

Commit 3c32c9c

Browse files
committed
fix install error
1 parent 04e3748 commit 3c32c9c

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

iso/installer/install.sh

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -701,8 +701,11 @@ pip3 install elasticsearch-curator yq
701701
hash -r
702702

703703
# Cloning T-Pot from GitHub
704-
fuBANNER "Cloning T-Pot"
705-
git clone https://github.com/dtag-dev-sec/tpotce -b dev /opt/tpot
704+
if ! [ "$myTPOT_DEPLOYMENT_TYPE" == "iso" ];
705+
then
706+
fuBANNER "Cloning T-Pot"
707+
git clone https://github.com/dtag-dev-sec/tpotce -b dev /opt/tpot
708+
fi
706709

707710
# Let's create the T-Pot user
708711
fuBANNER "Create user"

iso/preseed/tpot.seed

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ in-target apt-get -y install grub-pc; \
131131
in-target grub-install --force $(debconf-get partman-auto/disk); \
132132
update-dev; \
133133
in-target update-grub; \
134-
#in-target git clone --depth=1 https://github.com/dtag-dev-sec/tpotce -b dev /opt/tpot; \
134+
in-target git clone --depth=1 https://github.com/dtag-dev-sec/tpotce -b dev /opt/tpot; \
135135
in-target sed -i 's/allow-hotplug/auto/g' /etc/network/interfaces; \
136136
#in-target apt-get -y remove exim4-base; \
137137
#in-target apt-get -y autoremove; \

0 commit comments

Comments
 (0)