mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-11 06:05:21 -05:00
FS#11193 - rbutil: HTTP 404 error when downloading zipped version of the manual
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25561 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
853572e946
commit
8402ffa377
1 changed files with 3 additions and 3 deletions
|
|
@ -1071,7 +1071,7 @@ void RbUtilQt::downloadManual(void)
|
||||||
manual = "rockbox-"
|
manual = "rockbox-"
|
||||||
+ SystemInfo::value(SystemInfo::CurBuildserverModel).toString();
|
+ SystemInfo::value(SystemInfo::CurBuildserverModel).toString();
|
||||||
|
|
||||||
QString date = ServerInfo::value(ServerInfo::DailyDate).toString();
|
QDate date = QDate::fromString(ServerInfo::value(ServerInfo::DailyDate).toString(),Qt::ISODate);
|
||||||
|
|
||||||
QString manualurl;
|
QString manualurl;
|
||||||
QString target;
|
QString target;
|
||||||
|
|
@ -1081,7 +1081,7 @@ void RbUtilQt::downloadManual(void)
|
||||||
section = "Manual (PDF)";
|
section = "Manual (PDF)";
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
target = "/" + manual + "-" + date + "-html.zip";
|
target = "/" + manual + "-" + date.toString("yyyyMMdd") + "-html.zip";
|
||||||
section = "Manual (HTML)";
|
section = "Manual (HTML)";
|
||||||
}
|
}
|
||||||
manualurl = SystemInfo::value(SystemInfo::ManualUrl).toString() + "/" + target;
|
manualurl = SystemInfo::value(SystemInfo::ManualUrl).toString() + "/" + target;
|
||||||
|
|
@ -1094,7 +1094,7 @@ void RbUtilQt::downloadManual(void)
|
||||||
if(!RbSettings::value(RbSettings::CacheDisabled).toBool())
|
if(!RbSettings::value(RbSettings::CacheDisabled).toBool())
|
||||||
installer->setCache(true);
|
installer->setCache(true);
|
||||||
installer->setLogSection(section);
|
installer->setLogSection(section);
|
||||||
installer->setLogVersion(date);
|
installer->setLogVersion(ServerInfo::value(ServerInfo::DailyDate).toString());
|
||||||
installer->setUrl(manualurl);
|
installer->setUrl(manualurl);
|
||||||
installer->setUnzip(false);
|
installer->setUnzip(false);
|
||||||
installer->setTarget(target);
|
installer->setTarget(target);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue