Commit fcd43a4df620cfa7cb607c013d1153c790545a63

Authored by Silvan Calarco
1 parent 0311bc8539
Exists in master

installer.kmdr: small fix to previous commit for product and vendor displayed

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

installer/installer.kmdr
... ... @@ -1614,8 +1614,6 @@
1614 1614 diskdevice=${d/\/dev\/}
1615 1615 native_path=`get_udisks_key $d native-path`
1616 1616 [ ! -e $native_path/partition ] || continue
1617   - vendor=`get_udisks_key $d vendor`
1618   - product=`get_udisks_key $d model`
1619 1617 is_system_internal=`get_udisks_key $d "system internal"`
1620 1618 [ "$is_system_internal" != "1" -a @removablebox.checked == 0 ] && continue
1621 1619 partscheme=`get_udisks_key $d scheme`
... ... @@ -1623,6 +1621,8 @@
1623 1621 volumes=`ls -d $native_path/${diskdevice}* 2>/dev/null | sed "s|.*/||" | sort -n -r`
1624 1622 disktype="@i18n("Disk")"
1625 1623 fi
  1624 + vendor=`get_udisks_key $d vendor`
  1625 + product=`get_udisks_key $d model`
1626 1626 disksize=`get_udisks_key $d size`
1627 1627 disksize=`expr $disksize / 1024 / 1024 / 1024`
1628 1628 thisdisk=