diff options
author | Tim Jenssen <tim.jenssen@digia.com> | 2013-03-05 16:15:14 +0100 |
---|---|---|
committer | Tim Jenssen <tim.jenssen@digia.com> | 2013-03-05 16:18:27 +0100 |
commit | 80a121f6d194ab4843368520136c404886eb9f59 (patch) | |
tree | 407e159bb5f8053526444c9f3e5d679947885457 /src/libs/installer/component.cpp | |
parent | cbf93fb818b72fc5cefacd89f80542b92f23f3ed (diff) | |
parent | 0bda027c3431bd8e5c2681cdafeb5cf3d9baf362 (diff) |
Merge remote-tracking branch 'origin/1.3'
Change-Id: Ifb2048c4e820735ae8df05e2603b50fbeaf604d2
Diffstat (limited to 'src/libs/installer/component.cpp')
-rw-r--r-- | src/libs/installer/component.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/libs/installer/component.cpp b/src/libs/installer/component.cpp index e400ac197..064e74cb5 100644 --- a/src/libs/installer/component.cpp +++ b/src/libs/installer/component.cpp @@ -591,6 +591,12 @@ void Component::createOperationsForPath(const QString &path) */ void Component::createOperationsForArchive(const QString &archive) { + const QFileInfo fi(archive); + + // don't do anything with sha1 files + if (fi.suffix() == QLatin1String("sha1") && QFileInfo(fi.dir(), fi.completeBaseName()).exists()) + return; + // the script can override this method if (callScriptMethod(QLatin1String("createOperationsForArchive"), QScriptValueList() << archive).isValid()) return; |