summaryrefslogtreecommitdiffstats
path: root/installerbuilder
diff options
context:
space:
mode:
authorTim Jenssen <tim.jenssen@nokia.com>2011-08-25 15:08:24 +0200
committerTim Jenssen <tim.jenssen@nokia.com>2011-08-25 15:16:37 +0200
commitfe2574b112c49724289d9fc7cd5edef1c47c64d2 (patch)
tree1a722aacff417c4e50d806eac96bc77325add82b /installerbuilder
parentc4ce718bea44a8e7750acbbb563a076e5526a3ef (diff)
even for possible dependency we need to load the script for example to get archives
Change-Id: Ie6068f073aa6e789e96d50cf753f39c5c57edce5 Reviewed-on: http://codereview.qt.nokia.com/3601 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Tim Jenssen <tim.jenssen@nokia.com>
Diffstat (limited to 'installerbuilder')
-rw-r--r--installerbuilder/libinstaller/packagemanagercore.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/installerbuilder/libinstaller/packagemanagercore.cpp b/installerbuilder/libinstaller/packagemanagercore.cpp
index bc90d047a..19962e29b 100644
--- a/installerbuilder/libinstaller/packagemanagercore.cpp
+++ b/installerbuilder/libinstaller/packagemanagercore.cpp
@@ -1693,7 +1693,8 @@ bool PackageManagerCore::fetchUpdaterPackages(const PackagesList &remotes, const
foreach (QInstaller::Component *component, d->m_updaterComponentsDeps) {
if (d->statusCanceledOrFailed())
return false;
-
+ // even for possible dependency we need to load the script for example to get archives
+ component->loadComponentScript();
if (component->isInstalled()) {
// since we do not put them into the model, which would force a update of e.g. tri state
// components, we have to check all installed components ourself