Don't show update if not running within deCONZ-autostart.sh script
@@ -280,10 +280,13 @@ void DeRestPluginPrivate::internetDiscoveryExtractVersionInfo(QNetworkReply *rep
if (gwUpdateVersion != version)
{
DBG_Printf(DBG_INFO, "discovery found version %s for update channel %s\n", qPrintable(version), qPrintable(gwUpdateChannel));
+ if (gwRunFromShellScript)
+ {
gwUpdateVersion = version;
updateEtag(gwConfigEtag);
}
}
+ }
else
{
DBG_Printf(DBG_ERROR, "discovery reply doesn't contain valid version info for update channel %s\n", qPrintable(gwUpdateChannel));
