Improve look'n'feel of partition error dialog.
authorMichael Prokop <devnull@localhost>
Mon, 15 Sep 2008 17:52:29 +0000 (19:52 +0200)
committerMichael Prokop <devnull@localhost>
Mon, 15 Sep 2008 17:52:29 +0000 (19:52 +0200)
debian/changelog
grml-debootstrap

index a1ac50f..b3cd7cb 100644 (file)
@@ -1,3 +1,9 @@
+grml-debootstrap (0.23) unstable; urgency=low
+
+  * Improve look'n'feel of partition error dialog.
+
+ -- Michael Prokop <mika@grml.org>  Mon, 15 Sep 2008 19:51:57 +0200
+
 grml-debootstrap (0.22) unstable; urgency=low
 
   * Display meaningful information when no partitions could be found.
 grml-debootstrap (0.22) unstable; urgency=low
 
   * Display meaningful information when no partitions could be found.
index 870b8a8..17e7385 100755 (executable)
@@ -11,7 +11,7 @@ set -e # exit on any error
 
 # variables {{{
 PN="$(basename $0)"
 
 # variables {{{
 PN="$(basename $0)"
-VERSION='0.22'
+VERSION='0.23'
 MNTPOINT="/mnt/debootstrap.$$"
 
 # inside the chroot system locales might not be available, so use minimum:
 MNTPOINT="/mnt/debootstrap.$$"
 
 # inside the chroot system locales might not be available, so use minimum:
@@ -170,7 +170,7 @@ prompt_for_target()
                gawk -v num=0 -v ORS=' ' '/^\/dev\// {print $1}')
 
   if [ -z "$AVAILABLE_PARTITIONS" ] ; then
                gawk -v num=0 -v ORS=' ' '/^\/dev\// {print $1}')
 
   if [ -z "$AVAILABLE_PARTITIONS" ] ; then
-     dialog --title "$PN" --single-quoted --stdout \
+     dialog --title "$PN" --trim \
      --msgbox "Sorry, no partitions found. Please configure your
      harddisks (see /proc/partitions) using a tool like fdisk,
      cfdisk, gpart, gparted,..." 0 0
      --msgbox "Sorry, no partitions found. Please configure your
      harddisks (see /proc/partitions) using a tool like fdisk,
      cfdisk, gpart, gparted,..." 0 0