diff --git a/installer/packages/qreal-base/ru.qreal.root/meta/installscript.qs b/installer/packages/qreal-base/ru.qreal.root/meta/installscript.qs index a7828c3fbf..fce77aee25 100644 --- a/installer/packages/qreal-base/ru.qreal.root/meta/installscript.qs +++ b/installer/packages/qreal-base/ru.qreal.root/meta/installscript.qs @@ -141,8 +141,8 @@ function Component() installer.setDefaultPageVisible(QInstaller.TargetDirectory, false); installer.installationStarted.connect(function() { - if (installer.shouldDeinstallPrevious) { - installer.performOperation("Execute", Dir.toNativeSeparator("@TargetDir@/" + installer.maintenanceName)); + if (installer.shouldDeinstallPrevious) { + installer.performOperation("Execute", Dir.toNativeSeparator("@TargetDir@/" + installer.maintenanceName)); } }); }