Skip to content
Browse files

Display the hard drive size on the selection dialog

  • Loading branch information...
1 parent d5f3b1a commit 85cc118665facc6e4dd76cfa1d57c8d186c7eadf @kmoore134 kmoore134 committed Nov 21, 2013
Showing with 2 additions and 1 deletion.
  1. +2 −1 src-sh/pc-installdialog/pc-installdialog.sh
View
3 src-sh/pc-installdialog/pc-installdialog.sh
@@ -289,7 +289,8 @@ get_target_disk()
fOpt="on"
d=`echo $i | cut -d ':' -f 1`
desc=`echo $i | cut -d ':' -f 2`
- dOpts="$dOpts $d \"$desc\" $fOpt"
+ size="`${PCSYS} disk-info $d | grep size | cut -d '=' -f 2`MB"
+ dOpts="$dOpts $d \"$desc ($size)\" $fOpt"
if [ -z "$fOpt" ] ; then fOpt="off"; fi
done < /tmp/.dList.$$
rm /tmp/.dList.$$

0 comments on commit 85cc118

Please sign in to comment.
Something went wrong with that request. Please try again.