Merge branch 'master' of github.com:OpenELEC/OpenELEC.tv

This commit is contained in:
Stephan Raue 2013-04-27 15:35:33 +02:00
commit ee72919fc7

View File

@ -44,7 +44,7 @@ fi
DISK="$1"
### If DISK ends with a number, add "p1" instead of "1" for the first partition
case "${DISK: -1:1}" in
case ${DISK#${DISK%?}} in
([0-9]) PART="${DISK}p1";;
(*) PART="${DISK}1";;
esac