mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
Merge branch 'master' of github.com:OpenELEC/OpenELEC.tv
This commit is contained in:
commit
ee72919fc7
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user