mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-07-01 20:42:11 +00:00
fix #330
This commit is contained in:
parent
ecb2b4a587
commit
5482fa6748
1 changed files with 7 additions and 0 deletions
|
@ -79,6 +79,13 @@ function fuCHECK_VERSION () {
|
||||||
local myMINVERSION="19.03.0"
|
local myMINVERSION="19.03.0"
|
||||||
local myMASTERVERSION="19.03.0"
|
local myMASTERVERSION="19.03.0"
|
||||||
echo
|
echo
|
||||||
|
echo "### Checking for Release ID"
|
||||||
|
myRELEASE=$(lsb_release -i | grep Debian -c)
|
||||||
|
if [ "$myRELEASE" == "0" ]
|
||||||
|
then
|
||||||
|
echo "###### This version of T-Pot cannot be upgraded automatically. Please run a fresh install.$myWHITE"" [ $myRED""NOT OK""$myWHITE ]"
|
||||||
|
exit
|
||||||
|
fi
|
||||||
echo "### Checking for version tag ..."
|
echo "### Checking for version tag ..."
|
||||||
if [ -f "version" ];
|
if [ -f "version" ];
|
||||||
then
|
then
|
||||||
|
|
Loading…
Reference in a new issue