Changeset 2830


Ignore:
Timestamp:
Jun 16, 2011, 9:27:24 PM (8 years ago)
Author:
bruno
Message:

r4152@vgiles: bruno | 2011-06-11 20:42:21 +0200

  • Fix 2 print bugs in mindi 2.1
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.2.10/mindi/mindi

    r2816 r2830  
    873873    echo -en "\r\t\t\t\t\t\t\t\t"
    874874    i=$(($progress*100))
    875     i=$(($i/$noof_lines))
     875    if [ $noof_lines -ne 0 ]; then
     876        i=$(($i/$noof_lines))
     877    else
     878        i=0
     879    fi
    876880    echo -en "$i"
    877881    echo -en "%"
     
    9981002    done
    9991003    [ "$IMAGE_DEVS" != "" ] && all_partitions="`echo "$all_partitions $IMAGE_DEVS" | tr ' ' '\n' | sort -u | tr '\n ' ' '`"
    1000     printf "%-15s %-15s %-15s %-15s %s\n" DEVICE MOUNTPOINT FORMAT "SIZE MB" LABEL/UUID | tee -a $LOGFILE
    1001     printf "%-15s %-15s %-15s %-15s %s\n" ------ ---------- ------  -------  ---------- | tee -a $LOGFILE
     1004    printf "%-15s %-15s %-15s %s %s\n" DEVICE MOUNTPOINT FORMAT "SIZE MB" LABEL/UUID | tee -a $LOGFILE
     1005    printf "%-15s %-15s %-15s %s %s\n" ------ ---------- ------  -------  ---------- | tee -a $LOGFILE
    10021006    useless_dev="/dev/floppy /dev/fd0h1440 /dev/fd0H1440 /dev/cdrom /dev/cdrom/cdrom /dev/cdrom/cdrom1 /dev/cdrom/cdrom2 /dev/cdrom0 /dev/cdrom1 /dev/cdrom2 /dev/cdrom3 /dev/cdrw /dev/scd /dev/ram :/ /dev/sr0 /dev/sr1 /dev/cdrom1"
    10031007    for c_p in $all_partitions ; do
Note: See TracChangeset for help on using the changeset viewer.