mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 13:16:41 +00:00
allow addons to ship profile.d scripts
This commit is contained in:
parent
bf42102acb
commit
05c594dcd2
@ -16,6 +16,13 @@
|
|||||||
# along with OpenELEC. If not, see <http://www.gnu.org/licenses/>.
|
# along with OpenELEC. If not, see <http://www.gnu.org/licenses/>.
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
|
# addons profile.d/*.profile
|
||||||
|
for config in /storage/.kodi/addons/*/profile.d/*.profile; do
|
||||||
|
if [ -f "$config" ] ; then
|
||||||
|
. $config
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
oe_setup_addon() {
|
oe_setup_addon() {
|
||||||
if [ ! -z $1 ] ; then
|
if [ ! -z $1 ] ; then
|
||||||
DEF="/storage/.kodi/addons/$1/settings-default.xml"
|
DEF="/storage/.kodi/addons/$1/settings-default.xml"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user