mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 13:16:41 +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"
|
DISK="$1"
|
||||||
|
|
||||||
### If DISK ends with a number, add "p1" instead of "1" for the first partition
|
### 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";;
|
([0-9]) PART="${DISK}p1";;
|
||||||
(*) PART="${DISK}1";;
|
(*) PART="${DISK}1";;
|
||||||
esac
|
esac
|
||||||
|
Loading…
x
Reference in New Issue
Block a user