mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 05:06:43 +00:00
show_config: add DISTRO/show_config as function source and use it
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
This commit is contained in:
parent
f7ed0e72f2
commit
44cb449b38
@ -105,7 +105,13 @@ show_config() {
|
|||||||
done
|
done
|
||||||
|
|
||||||
# Distribution specific configuration
|
# Distribution specific configuration
|
||||||
|
# show_distro_config() should be included in one of:
|
||||||
|
# $DISTRO/config/functions
|
||||||
|
# $DISTRO/show_config
|
||||||
|
|
||||||
|
if [ -f distributions/${DISTRO}/show_config ]; then
|
||||||
|
. distributions/${DISTRO}/show_config
|
||||||
|
fi
|
||||||
if [ "$(type -t show_distro_config)" = "function" ]; then
|
if [ "$(type -t show_distro_config)" = "function" ]; then
|
||||||
show_distro_config
|
show_distro_config
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user