summaryrefslogtreecommitdiffstats
path: root/installerbuilder
diff options
context:
space:
mode:
authorTim Jenssen <tim.jenssen@nokia.com>2011-02-25 15:35:39 +0100
committerTim Jenssen <tim.jenssen@nokia.com>2011-02-25 15:35:39 +0100
commit57696a08549b8aa4b6a4535d140fe5d57b8be6c2 (patch)
tree482757b93856024e125dcc0b458e5e92c09f6f70 /installerbuilder
parent8457830abdca9d5769e2ec1bdbfb793a05e6c5dd (diff)
install new components in the installer mode
Diffstat (limited to 'installerbuilder')
-rw-r--r--installerbuilder/libinstaller/qinstaller.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/installerbuilder/libinstaller/qinstaller.cpp b/installerbuilder/libinstaller/qinstaller.cpp
index c41734979..787bcecb2 100644
--- a/installerbuilder/libinstaller/qinstaller.cpp
+++ b/installerbuilder/libinstaller/qinstaller.cpp
@@ -2494,7 +2494,7 @@ void Installer::createComponents(const QList<KDUpdater::Update*> &updates,
== QLatin1String("Installed");
const bool isNewComponent = tmpComponent->value(QLatin1String("NewComponent"))
== QLatin1String("true") ? true : false;
- const bool newPackageForUpdater = !isInstalled && isNewComponent;
+ const bool newPackageForUpdater = !isInstalled && isNewComponent && !isInstaller();
isUpdate = isUpdate && isInstalled;
if (newPackageForUpdater) {