From 44cb449b38872ee43f79b73931889a9e17bedbee Mon Sep 17 00:00:00 2001 From: Ian Leonard Date: Sat, 23 May 2020 20:33:14 +0000 Subject: [PATCH] show_config: add DISTRO/show_config as function source and use it Signed-off-by: Ian Leonard --- config/show_config | 6 ++++++ distributions/LibreELEC/{config/functions => show_config} | 0 2 files changed, 6 insertions(+) rename distributions/LibreELEC/{config/functions => show_config} (100%) diff --git a/config/show_config b/config/show_config index 48d17afa7a..1c17769dba 100755 --- a/config/show_config +++ b/config/show_config @@ -105,7 +105,13 @@ show_config() { done # 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 show_distro_config fi diff --git a/distributions/LibreELEC/config/functions b/distributions/LibreELEC/show_config similarity index 100% rename from distributions/LibreELEC/config/functions rename to distributions/LibreELEC/show_config