mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-08-01 15:07:49 +00:00
config/functions: fix comment
This commit is contained in:
parent
aaa8c7e493
commit
3b756a1f3c
@ -38,7 +38,7 @@ listcontains() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# remove item(s) from list.
|
# remove item(s) from list.
|
||||||
# looping makes it greedy (eg. removefromlist "abc def ghi" "(abc|def)" will work).
|
# looping makes it greedy (eg. listremoveitem "abc def ghi" "(abc|def)" removes both "abc" and "def").
|
||||||
listremoveitem() {
|
listremoveitem() {
|
||||||
local data="${1}" odata tmp_array
|
local data="${1}" odata tmp_array
|
||||||
if [ -n "$1" -a -n "$2" ]; then
|
if [ -n "$1" -a -n "$2" ]; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user