mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-07-02 01:27:27 -04:00
prepare for merge
autoupdate is functional as far as the test branch can tell
This commit is contained in:
@ -1,5 +1,5 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
### test 2
|
|
||||||
###################################################
|
###################################################
|
||||||
# Do not change any contents of this script!
|
# Do not change any contents of this script!
|
||||||
###################################################
|
###################################################
|
||||||
@ -20,8 +20,6 @@ if [ "$myWHOAMI" != "root" ]
|
|||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "#############>>>>>> I just got updated WOOT"
|
|
||||||
|
|
||||||
# Check for existing tpot.yml
|
# Check for existing tpot.yml
|
||||||
function fuCONFIGCHECK () {
|
function fuCONFIGCHECK () {
|
||||||
echo "### Checking for T-Pot configuration file ..."
|
echo "### Checking for T-Pot configuration file ..."
|
||||||
@ -68,7 +66,7 @@ function fuSELFUPDATE () {
|
|||||||
echo "###### $myBLUE"No updates found in repository."$myWHITE"
|
echo "###### $myBLUE"No updates found in repository."$myWHITE"
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
myRESULT=$(git diff --name-only origin/autoupdate | grep update.sh)
|
myRESULT=$(git diff --name-only origin/17.06 | grep update.sh)
|
||||||
myLOCALSTAT=$(git status -uno | grep -c update.sh)
|
myLOCALSTAT=$(git status -uno | grep -c update.sh)
|
||||||
if [ "$myRESULT" == "update.sh" ];
|
if [ "$myRESULT" == "update.sh" ];
|
||||||
then
|
then
|
||||||
|
Reference in New Issue
Block a user