mirror of
https://github.com/libretro/Lakka-LibreELEC.git
synced 2024-11-24 17:00:02 +00:00
scripts/create_addon: add changelog to new "news" item
This commit is contained in:
parent
6e1e08ef96
commit
e400a90838
@ -20,5 +20,8 @@
|
||||
@PKG_DISCLAIMER@
|
||||
</disclaimer>
|
||||
<platform>all</platform>
|
||||
<news>
|
||||
@PKG_ADDON_NEWS@
|
||||
</news>
|
||||
</extension>
|
||||
</addon>
|
||||
|
@ -20,5 +20,8 @@
|
||||
@PKG_DISCLAIMER@
|
||||
</disclaimer>
|
||||
<platform>all</platform>
|
||||
<news>
|
||||
@PKG_ADDON_NEWS@
|
||||
</news>
|
||||
</extension>
|
||||
</addon>
|
||||
|
@ -22,5 +22,8 @@
|
||||
@PKG_DISCLAIMER@
|
||||
</disclaimer>
|
||||
<platform>all</platform>
|
||||
<news>
|
||||
@PKG_ADDON_NEWS@
|
||||
</news>
|
||||
</extension>
|
||||
</addon>
|
||||
|
@ -20,5 +20,8 @@
|
||||
@PKG_DISCLAIMER@
|
||||
</disclaimer>
|
||||
<platform>all</platform>
|
||||
<news>
|
||||
@PKG_ADDON_NEWS@
|
||||
</news>
|
||||
</extension>
|
||||
</addon>
|
||||
|
@ -75,7 +75,13 @@ pack_addon() {
|
||||
fi
|
||||
|
||||
if [ -f $PKG_DIR/changelog.txt ]; then
|
||||
cp $PKG_DIR/changelog.txt $ADDON_BUILD/$PKG_ADDON_ID
|
||||
sed -e "/@PKG_ADDON_NEWS@/ \
|
||||
{
|
||||
r $PKG_DIR/changelog.txt
|
||||
d
|
||||
}" -i $ADDON_BUILD/$PKG_ADDON_ID/addon.xml
|
||||
else
|
||||
sed -e "s|@PKG_ADDON_NEWS@||g" -i $ADDON_BUILD/$PKG_ADDON_ID/addon.xml
|
||||
fi
|
||||
|
||||
PROVIDER_NAME="libreelec.tv"
|
||||
|
Loading…
Reference in New Issue
Block a user