[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#408641: Please default to the one-and-only disk; already displayed for confirmation in the next question



Hi,

tested the patch and doesn't work.
I've tried also with grep "\n" and also doesn't work.
So i have tried with "wc":

select_auto_disk() {
        local DEVS

        DEVS=$(get_auto_disks)
        [ -n "$DEVS" ] || return 1
        if [[ `echo "$DEVS" | wc -l` == "1" ]]; then
                # only one choice
                db_set partman-auto/select_disk "$DEVS"
                echo "$DEVS"
                return 0
        fi

but i get an error (please see image) which i don't understand.
I am also attaching syslog so it can be further analysed.

If this BR gets solved Debian Installer will require less 1/25 (4%) interaction to most users in standard installation.

-- 
Melhores cumprimentos/Best regards,

Miguel Figueiredo
http://www.DebianPT.org

Attachment: syslog.gz
Description: GNU Zip compressed data

Attachment: img.png
Description: PNG image


Reply to: