mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
allow addons to ship profile.d scripts
This commit is contained in:
parent
3f4e9b5fce
commit
72b616100b
@ -16,6 +16,13 @@
|
||||
# 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() {
|
||||
if [ ! -z $1 ] ; then
|
||||
DEF="/storage/.kodi/addons/$1/settings-default.xml"
|
||||
|
Loading…
x
Reference in New Issue
Block a user