Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 0 additions & 37 deletions admin/win/Toolchain-mingw32-openSUSE.cmake

This file was deleted.

33 changes: 0 additions & 33 deletions admin/win/create_stable_toolchain.sh

This file was deleted.

22 changes: 0 additions & 22 deletions admin/win/download_runtimes.sh

This file was deleted.

140 changes: 0 additions & 140 deletions cmake/scripts/generate_findpackage_file

This file was deleted.

122 changes: 0 additions & 122 deletions cmake/scripts/generate_lib_file

This file was deleted.

16 changes: 0 additions & 16 deletions src/libsync/syncengine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1065,22 +1065,6 @@ void SyncEngine::finishSync()
emit transmissionProgress(*_progressInfo);
_progressInfo->startEstimateUpdates();

// post update phase script: allow to tweak stuff by a custom script in debug mode.
if (!qEnvironmentVariableIsEmpty("OWNCLOUD_POST_UPDATE_SCRIPT")) {
#ifndef NDEBUG
const QString script = qEnvironmentVariable("OWNCLOUD_POST_UPDATE_SCRIPT");

qCDebug(lcEngine) << "Post Update Script: " << script;
auto scriptArgs = script.split(QRegularExpression("\\s+"), Qt::SkipEmptyParts);
if (scriptArgs.size() > 0) {
const auto scriptExecutable = scriptArgs.takeFirst();
QProcess::execute(scriptExecutable, scriptArgs);
}
#else
qCWarning(lcEngine) << "**** Attention: POST_UPDATE_SCRIPT installed, but not executed because compiled with NDEBUG";
#endif
}

// do a database commit
_journal->commit(QStringLiteral("post treewalk"));

Expand Down
Loading