mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-01 01:41:12 +02:00
Softupdate: Fix filename for local update
Origin commit data
------------------
Commit: 9b12442b5d
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2013-08-20 (Tue, 20 Aug 2013)
This commit is contained in:
@@ -137,7 +137,7 @@ bool CExtUpdate::ErrorReset(bool modus, const std::string & msg1, const std::str
|
||||
return false;
|
||||
}
|
||||
|
||||
bool CExtUpdate::applySettings(const std::string & filename, int mode)
|
||||
bool CExtUpdate::applySettings(std::string & filename, int mode)
|
||||
{
|
||||
if(!FileHelpers)
|
||||
FileHelpers = new CFileHelpers();
|
||||
@@ -165,6 +165,7 @@ bool CExtUpdate::applySettings(const std::string & filename, int mode)
|
||||
else
|
||||
imgFilename = orgPath + "/" + orgName + settingsStr + orgExt;
|
||||
|
||||
filename = imgFilename;
|
||||
FileHelpers->copyFile(oldFilename.c_str(), imgFilename.c_str(), 0644);
|
||||
|
||||
bool ret = applySettings();
|
||||
|
Reference in New Issue
Block a user