mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-26 15:02:56 +02:00
update: fix commit: neutrino remove useless allow_flash from CmdParser()
commit:947b52f09a
Signed-off-by: Thilo Graf <dbt@novatux.de> Origin commit data ------------------ Commit:854a86ba9f
Author: vanhofen <vanhofen@gmx.de> Date: 2024-01-12 (Fri, 12 Jan 2024) Origin message was: ------------------ - update: fix 27d6d263223f13d0c6bfb482401a7229fbb8217c ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit
This commit is contained in:
@@ -201,7 +201,7 @@ bool CFlashUpdate::checkOnlineVersion()
|
|||||||
CFlashVersionInfo versionInfo(version);
|
CFlashVersionInfo versionInfo(version);
|
||||||
newVer = versionInfo.getVersion();
|
newVer = versionInfo.getVersion();
|
||||||
dprintf(DEBUG_NORMAL, "[update] url %s version %s (%d) timestamp %s (%ld) md5 %s name %s\n", url.c_str(), version.c_str(), newVer, versionInfo.getDate(), versionInfo.getDateTime(), md5.c_str(), name.c_str());
|
dprintf(DEBUG_NORMAL, "[update] url %s version %s (%d) timestamp %s (%ld) md5 %s name %s\n", url.c_str(), version.c_str(), newVer, versionInfo.getDate(), versionInfo.getDateTime(), md5.c_str(), name.c_str());
|
||||||
if (versionInfo.snapshot <= '2' && (newVer > curVer || versionInfo.getDateTime() > curInfo.getDateTime()))
|
if (versionInfo.snapshot <= '9' && (newVer > curVer || versionInfo.getDateTime() > curInfo.getDateTime()))
|
||||||
{
|
{
|
||||||
newfound = true;
|
newfound = true;
|
||||||
dprintf(DEBUG_NORMAL, "[update] found new image\n");
|
dprintf(DEBUG_NORMAL, "[update] found new image\n");
|
||||||
@@ -298,10 +298,8 @@ bool CFlashUpdate::selectHttpImage(void)
|
|||||||
CFlashVersionInfo versionInfo(versions[i]);
|
CFlashVersionInfo versionInfo(versions[i]);
|
||||||
newVer = versionInfo.getVersion();
|
newVer = versionInfo.getVersion();
|
||||||
dprintf(DEBUG_NORMAL, "[update] url %s version %s (%d) timestamp %s (%ld) md5 %s name %s\n", url.c_str(), version.c_str(), newVer, versionInfo.getDate(), versionInfo.getDateTime(), md5.c_str(), name.c_str());
|
dprintf(DEBUG_NORMAL, "[update] url %s version %s (%d) timestamp %s (%ld) md5 %s name %s\n", url.c_str(), version.c_str(), newVer, versionInfo.getDate(), versionInfo.getDateTime(), md5.c_str(), name.c_str());
|
||||||
if (versionInfo.snapshot <= '2' && (newVer > curVer || versionInfo.getDateTime() > curInfo.getDateTime()))
|
if (versionInfo.snapshot <= '9' && (newVer > curVer || versionInfo.getDateTime() > curInfo.getDateTime()))
|
||||||
newfound = 1;
|
newfound = 1;
|
||||||
if (versionInfo.snapshot <= '2')
|
|
||||||
enabled = false;
|
|
||||||
fileTypes[i] = versionInfo.snapshot;
|
fileTypes[i] = versionInfo.snapshot;
|
||||||
std::string description = versionInfo.getType(true);
|
std::string description = versionInfo.getType(true);
|
||||||
description += " ";
|
description += " ";
|
||||||
|
Reference in New Issue
Block a user