tazinst diff tazinst @ rev 92
german translation completed
author | Hans-G?nter Theisgen |
---|---|
date | Fri Oct 06 15:12:26 2017 +0100 (2017-10-06) |
parents | a5a2cf70560b |
children | 5c34d77a6168 |
line diff
1.1 --- a/tazinst Thu Jun 02 18:09:29 2016 +0300 1.2 +++ b/tazinst Fri Oct 06 15:12:26 2017 +0100 1.3 @@ -1498,7 +1498,7 @@ 1.4 disknum() 1.5 { 1.6 local partition="$(uuid2dev $1)" 1.7 - partition="${partition%[0-9]}" 1.8 + partition="${partition%%[0-9]*}" 1.9 /usr/sbin/parted -lms 2>&1 | grep "^/dev" | \ 1.10 /bin/busybox awk -v PART="$partition" '{if (match($0,PART)) print NR-1}' 1.11 } 1.12 @@ -1507,7 +1507,7 @@ 1.13 partnum() 1.14 { 1.15 local partition="$(uuid2dev $1)" 1.16 - printf "%s\n" "$((${partition#/dev/[h-s]d[a-z]}-1))" 1.17 + printf "%s\n" "$((${partition#/dev/[hs]d[a-z]}-1))" 1.18 } 1.19 1.20 # print root device