mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 13:16:41 +00:00
commit
b708f5aeec
@ -118,6 +118,8 @@ pack_addon() {
|
|||||||
-e "s|@PKG_ADDON_SCREENSHOT@|$PKG_ADDON_SCREENSHOT|g" \
|
-e "s|@PKG_ADDON_SCREENSHOT@|$PKG_ADDON_SCREENSHOT|g" \
|
||||||
-i $ADDON_BUILD/$PKG_ADDON_ID/addon.xml
|
-i $ADDON_BUILD/$PKG_ADDON_ID/addon.xml
|
||||||
|
|
||||||
|
debug_strip $ADDON_BUILD/$PKG_ADDON_ID
|
||||||
|
|
||||||
if [ "$2" != "-test" ] ; then
|
if [ "$2" != "-test" ] ; then
|
||||||
if [ -n "${DEVICE}" ]; then
|
if [ -n "${DEVICE}" ]; then
|
||||||
ADDON_INSTALL_DIR="$TARGET/$ADDONS/$ADDON_VERSION/$DEVICE/$TARGET_ARCH/$PKG_ADDON_ID"
|
ADDON_INSTALL_DIR="$TARGET/$ADDONS/$ADDON_VERSION/$DEVICE/$TARGET_ARCH/$PKG_ADDON_ID"
|
||||||
@ -177,13 +179,12 @@ if [ "$PKG_IS_ADDON" = "yes" ] ; then
|
|||||||
|
|
||||||
if [ "$(type -t addon)" = "function" ]; then
|
if [ "$(type -t addon)" = "function" ]; then
|
||||||
addon
|
addon
|
||||||
debug_strip $ADDON_BUILD/$PKG_ADDON_ID
|
|
||||||
else
|
else
|
||||||
echo "*** unsupported package format. please convert your package ***"
|
echo "*** unsupported package format. please convert your package ***"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# HACK for packages tat provide multiple addons like screensavers.rsxs
|
# HACK for packages that provide multiple addons like screensavers.rsxs
|
||||||
# addon's addon() in package.mk should take care for exporting
|
# addon's addon() in package.mk should take care for exporting
|
||||||
# MULTI_ADDONS="addon.boo1 addon.boo2 addon.boo3"
|
# MULTI_ADDONS="addon.boo1 addon.boo2 addon.boo3"
|
||||||
if [ -n "$MULTI_ADDONS" ] ; then
|
if [ -n "$MULTI_ADDONS" ] ; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user