mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +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
|
||||
CUST_ADDON_VERSION="$PKG_VERSION"
|
||||
fi
|
||||
if [ ! -z "$PKG_CUSTOM_ADDON_VERSION" ] ; then
|
||||
CUST_ADDON_VERSION="$PKG_CUSTOM_ADDON_VERSION"
|
||||
fi
|
||||
|
||||
if [ -f $PKG_DIR/source/default.py ]; then
|
||||
cp -R $PKG_DIR/source/* $ADDON_BUILD/$PKG_ADDON_ID
|
||||
|
Loading…
x
Reference in New Issue
Block a user