mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 21:26:49 +00:00
bash: add local addons to $PATH
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
4bccba8194
commit
359c2a96f2
@ -26,8 +26,12 @@
|
||||
PATH="/bin:/sbin:/usr/bin:/usr/sbin"
|
||||
|
||||
# hack: add addons to $PATH
|
||||
for i in `find /storage/.xbmc/addons/* -name bin -type d`; do
|
||||
PATH="$PATH:$i"
|
||||
for addons in `find /storage/.xbmc/addons/* -name bin -type d`; do
|
||||
PATH="$PATH:$addons"
|
||||
done
|
||||
|
||||
for sys in `find /usr/lib/xbmc/addons/* -name bin -type d`; do
|
||||
PATH="$PATH:$sys"
|
||||
done
|
||||
|
||||
export PATH
|
||||
|
Loading…
x
Reference in New Issue
Block a user