mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 05:36:47 +00:00
config/graphic: remove leading comma in variables
This commit is contained in:
parent
8c2e5a898d
commit
b93b40f092
@ -98,5 +98,9 @@ get_graphicdrivers() {
|
||||
VDPAU_SUPPORT="no"
|
||||
fi
|
||||
|
||||
# remove leading comma if present
|
||||
[[ $GALLIUM_DRIVERS =~ ^, ]] && GALLIUM_DRIVERS="${GALLIUM_DRIVERS:1}"
|
||||
[[ $DRI_DRIVERS =~ ^, ]] && DRI_DRIVERS="${DRI_DRIVERS:1}"
|
||||
|
||||
done
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user