mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 08:51:10 +02:00
- configure: change release cycle handling; we don't need two defines for release cycle
Signed-off-by: GetAway <get-away@t-online.de>
This commit is contained in:
@@ -432,7 +432,7 @@ bool CFlashUpdate::checkVersion4Update()
|
||||
|
||||
if (gotImage)
|
||||
{
|
||||
if ((strncmp(RELEASE_CYCLE, versionInfo->getReleaseCycle(), 2) != 0) &&
|
||||
if ((strncmp(PACKAGE_RELEASE_CYCLE, versionInfo->getReleaseCycle(), 2) != 0) &&
|
||||
(ShowMsg(LOCALE_MESSAGEBOX_INFO, LOCALE_FLASHUPDATE_WRONGBASE, CMsgBox::mbrYes, CMsgBox::mbYes | CMsgBox::mbNo, NEUTRINO_ICON_UPDATE) != CMsgBox::mbrYes))
|
||||
{
|
||||
delete versionInfo;
|
||||
|
@@ -463,7 +463,7 @@ CFlashVersionInfo::CFlashVersionInfo(const std::string & _versionString)
|
||||
snapshot = versionString[0];
|
||||
|
||||
// recover release cycle version
|
||||
// will be compared with RELEASE_CYCLE, which is defined in configure.ac as "x.0"
|
||||
// will be compared with PACKAGE_RELEASE_CYCLE, which is defined in configure.ac as "x.0"
|
||||
releaseCycle[0] = versionString[1];
|
||||
releaseCycle[1] = '.';
|
||||
releaseCycle[2] = '0';
|
||||
|
Reference in New Issue
Block a user