mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-07-01 12:32:12 +00:00
prepare for merge to master
This commit is contained in:
parent
da134adbc8
commit
7e9cc240e3
3 changed files with 3 additions and 8 deletions
|
@ -268,11 +268,6 @@ function fuGET_DEPS {
|
|||
echo "### Determine fastest mirror for your location."
|
||||
echo
|
||||
netselect-apt -n -a amd64 unstable && cp sources.list /etc/apt/
|
||||
# # Point to Debian (Sid, unstable)
|
||||
# tee /etc/apt/sources.list <<EOF
|
||||
#deb http://deb.debian.org/debian unstable main contrib non-free
|
||||
#deb-src http://deb.debian.org/debian unstable main contrib non-free
|
||||
#EOF
|
||||
echo
|
||||
echo "### Getting update information."
|
||||
echo
|
||||
|
@ -658,7 +653,7 @@ pip install elasticsearch-curator yq
|
|||
|
||||
# Cloning T-Pot from GitHub
|
||||
fuBANNER "Cloning T-Pot"
|
||||
git clone https://github.com/dtag-dev-sec/tpotce -b debian /opt/tpot
|
||||
git clone https://github.com/dtag-dev-sec/tpotce /opt/tpot
|
||||
|
||||
# Let's create the T-Pot user
|
||||
fuBANNER "Create user"
|
||||
|
|
|
@ -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 debian /opt/tpot; \
|
||||
in-target git clone --depth=1 https://github.com/dtag-dev-sec/tpotce /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; \
|
||||
|
|
|
@ -58,7 +58,7 @@ function fuSELFUPDATE () {
|
|||
echo "###### $myBLUE""No updates found in repository.""$myWHITE"
|
||||
return
|
||||
fi
|
||||
myRESULT=$(git diff --name-only origin/debian | grep update.sh)
|
||||
myRESULT=$(git diff --name-only origin/master | grep update.sh)
|
||||
if [ "$myRESULT" == "update.sh" ];
|
||||
then
|
||||
echo "###### $myBLUE""Found newer version, will be pulling updates and restart myself.""$myWHITE"
|
||||
|
|
Loading…
Reference in a new issue