mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-05-11 02:46:04 +00:00
prepare for merge
autoupdate is functional as far as the test branch can tell
This commit is contained in:
parent
9ec38852ae
commit
a584d9869e
1 changed files with 2 additions and 4 deletions
|
@ -1,5 +1,5 @@
|
|||
#!/bin/bash
|
||||
### test 2
|
||||
|
||||
###################################################
|
||||
# Do not change any contents of this script!
|
||||
###################################################
|
||||
|
@ -20,8 +20,6 @@ if [ "$myWHOAMI" != "root" ]
|
|||
exit
|
||||
fi
|
||||
|
||||
echo "#############>>>>>> I just got updated WOOT"
|
||||
|
||||
# Check for existing tpot.yml
|
||||
function fuCONFIGCHECK () {
|
||||
echo "### Checking for T-Pot configuration file ..."
|
||||
|
@ -68,7 +66,7 @@ function fuSELFUPDATE () {
|
|||
echo "###### $myBLUE"No updates found in repository."$myWHITE"
|
||||
return
|
||||
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)
|
||||
if [ "$myRESULT" == "update.sh" ];
|
||||
then
|
||||
|
|
Loading…
Reference in a new issue