testing...

This commit is contained in:
2025-07-07 13:00:34 +02:00
parent 2ab485454c
commit 8d5831286d
4 changed files with 9 additions and 4 deletions

View File

@@ -65,7 +65,6 @@ int main(int argc, char **argv) {
setDebugLevel(LOG_NOTICE);
}
//return 0;
/*
@@ -172,7 +171,7 @@ int main(int argc, char **argv) {
qInfo() << "using customer repository" << psaRepoDir;
}
std::unique_ptr<QString> c = internal::dcCandidateToInstall();
std::unique_ptr<QString> c = internal::dcCandidateToInstall("/etc/dc/");
if (c) {
fi.setFile(*c);
if (fi.exists() == false) {

View File

@@ -392,6 +392,10 @@ int Update::run() {
qInfo() << "DC auto request OFF";
// dennis einzelne linie
qCritical() << "start dc-update for" << m_dcFileName << "at" << m_start.toString(Qt::ISODate);
QByteArray ba = loadBinaryDCFile(m_dcFileName);
if (ba.size() > 0) {
m_totalBlocks = (((ba.size())%64)==0) ? (ba.size()/64) : (ba.size()/64)+1;