mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-07-02 01:27:27 -04:00
Update update.sh
This commit is contained in:
@ -63,7 +63,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/master | grep update.sh)
|
myRESULT=$(git diff --name-only origin/dev | grep update.sh)
|
||||||
if [ "$myRESULT" == "update.sh" ];
|
if [ "$myRESULT" == "update.sh" ];
|
||||||
then
|
then
|
||||||
echo "###### $myBLUE""Found newer version, will be pulling updates and restart myself.""$myWHITE"
|
echo "###### $myBLUE""Found newer version, will be pulling updates and restart myself.""$myWHITE"
|
||||||
|
Reference in New Issue
Block a user