Browse Source

Fix the copy of the removed file. (#298)

master
osemmler 7 years ago
committed by probonopd
parent
commit
fff6974040
  1. 2
      tools/linuxdeployqt/shared.cpp

2
tools/linuxdeployqt/shared.cpp

@ -219,7 +219,7 @@ inline QDebug operator<<(QDebug debug, const AppDirInfo &info)
bool copyFilePrintStatus(const QString &from, const QString &to)
{
if (QFile(to).exists()) {
if (alwaysOwerwriteEnabled) {
if (alwaysOwerwriteEnabled && QFileInfo(to) != QFileInfo(from)) {
QFile(to).remove();
} else {
LogDebug() << QFileInfo(to).fileName() << "already exists at target location";

Loading…
Cancel
Save