tazinst rev 63
tazinst: fix list USB disk partitions (also used in GUI installer)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Jul 24 14:41:27 2015 +0300 (2015-07-24) |
parents | 0f15fa3b7622 |
children | f9bf527777b0 |
files | tazinst |
line diff
1.1 --- a/tazinst Mon Jul 13 11:51:25 2015 +0200 1.2 +++ b/tazinst Fri Jul 24 14:41:27 2015 +0300 1.3 @@ -858,7 +858,7 @@ 1.4 if readlink $DEV | grep -q usb; then 1.5 DEV=$(basename $DEV) 1.6 if [ -d /sys/block/${DEV}/${DEV}1 ]; then 1.7 - /sbin/blkid /dev/$DEV* | /bin/busybox awk 'BEGIN{RS=" "} 1.8 + /sbin/blkid /dev/$DEV* | tr ' ' '\n' | /bin/busybox awk ' 1.9 /^\/dev\// { 1.10 DEV=$1 1.11 gsub(/:/,"",DEV)