mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46: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"
|
PATH="/bin:/sbin:/usr/bin:/usr/sbin"
|
||||||
|
|
||||||
# hack: add addons to $PATH
|
# hack: add addons to $PATH
|
||||||
for i in `find /storage/.xbmc/addons/* -name bin -type d`; do
|
for addons in `find /storage/.xbmc/addons/* -name bin -type d`; do
|
||||||
PATH="$PATH:$i"
|
PATH="$PATH:$addons"
|
||||||
|
done
|
||||||
|
|
||||||
|
for sys in `find /usr/lib/xbmc/addons/* -name bin -type d`; do
|
||||||
|
PATH="$PATH:$sys"
|
||||||
done
|
done
|
||||||
|
|
||||||
export PATH
|
export PATH
|
||||||
|
Loading…
x
Reference in New Issue
Block a user