mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 13:16:41 +00:00
scripts/create_addon: support PKG_CUSTOM_ADDON_VERSION
use with care. could be tricky and you can easily break addon autoupdates..
This commit is contained in:
parent
810b0da190
commit
7ebdcddb0d
@ -74,6 +74,9 @@ if [ -f $PKG_DIR/addon ]; then
|
|||||||
else
|
else
|
||||||
CUST_ADDON_VERSION="$PKG_VERSION"
|
CUST_ADDON_VERSION="$PKG_VERSION"
|
||||||
fi
|
fi
|
||||||
|
if [ ! -z "$PKG_CUSTOM_ADDON_VERSION" ] ; then
|
||||||
|
CUST_ADDON_VERSION="$PKG_CUSTOM_ADDON_VERSION"
|
||||||
|
fi
|
||||||
|
|
||||||
if [ -f $PKG_DIR/source/default.py ]; then
|
if [ -f $PKG_DIR/source/default.py ]; then
|
||||||
cp -R $PKG_DIR/source/* $ADDON_BUILD/$PKG_ADDON_ID
|
cp -R $PKG_DIR/source/* $ADDON_BUILD/$PKG_ADDON_ID
|
||||||
|
Loading…
x
Reference in New Issue
Block a user