From af89b1c5b151842edce430d76e2964ec3fd252b4 Mon Sep 17 00:00:00 2001 From: cinap_lenrek Date: Thu, 21 Jul 2011 01:04:17 +0200 Subject: [PATCH] inst/partdisk: fix issue #76 --- rc/bin/inst/partdisk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rc/bin/inst/partdisk b/rc/bin/inst/partdisk index 430d45f3f..35678a3c4 100755 --- a/rc/bin/inst/partdisk +++ b/rc/bin/inst/partdisk @@ -5,7 +5,7 @@ switch($1){ case go - disks=`{ls /dev/sd*/data >[2]/dev/null | sed 's!/dev/(sd..)/data!\1!'} + disks=`{ls /dev/sd*/data >[2]/dev/null | sed 's!/dev/(sd.*)/data!\1!'} if(~ $#disks 0) { echo 'No disk devices were found on your system.' echo 'The installation process cannot continue.' @@ -61,7 +61,7 @@ case go case checkdone # we want at least one disk with both an mbr and a plan9 partition mbrandplan9=0 - disks=`{ls /dev/sd*/plan9 >[2]/dev/null | sed 's!/dev/(sd..)/plan9!\1!'} + disks=`{ls /dev/sd*/plan9 >[2]/dev/null | sed 's!/dev/(sd.*)/plan9!\1!'} for(disk in $disks) { if(hasmbr /dev/$disk/data) mbrandplan9=1