Commit 78ab2998e606291b1b3e1c5ccf0d8fe7c3a87dbe

Authored by Silvan Calarco
1 parent 3c2d3b66d4
Exists in master

installer.kmdr: fix long-standing bug of mounted partitions disappearing at installation beginning

Also remove obsolete dcop call to disable media notifier

Showing 1 changed file with 1 additions and 14 deletions Side-by-side Diff

installer/installer.kmdr
... ... @@ -1537,19 +1537,7 @@
1537 1537 </property>
1538 1538 <property name="associations" stdset="0">
1539 1539 <stringlist>
1540   - <string>@exec("dcop kded kded unloadModule medianotifier")
1541   -@execBegin
1542   -function get_udisks_key() {
1543   - LANG=C udisks --show-info $1 | grep " $2:" | head -n1 | sed "s|[[:space:]]*$2:[[:space:]]*\(.*\)|\1|"
1544   -}
1545   -volumes=`udisks --enumerate-device-files | grep -v /dev/disk`
1546   -for v in $volumes; do
1547   - native_path=`get_udisks_key $v native-path`
1548   - [ ! -e $native_path/partition ] || continue
1549   - sudo udisks --unmount $v
1550   -done
1551   -@execEnd
1552   -@PartitionBox.setEnabled(false)
  1540 + <string>@PartitionBox.setEnabled(false)
1553 1541 @BootloaderBox.setEnabled(false)
1554 1542 @Message.info("&lt;b&gt;
1555 1543 @i18n("Hint: in order to install openmamba you should create:")
... ... @@ -1561,7 +1549,6 @@
1561 1549 ",@i18n("Hint for partitioning"))
1562 1550 @exec(sudo /usr/sbin/gparted)
1563 1551 @scanDevices.execute()
1564   -@exec("dcop kded kded loadModule medianotifier")
1565 1552 @PartitionBox.setEnabled(true)
1566 1553 @BootloaderBox.setEnabled(true)
1567 1554 </string>