Merge pull request #2116 from stefansaraev/discl

addons: 'disclaimer' support
This commit is contained in:
Stephan Raue 2013-03-23 12:01:08 -07:00
commit 3e01e22216
2 changed files with 4 additions and 0 deletions

View File

@ -17,6 +17,9 @@
<description>
@PKG_LONGDESC@
</description>
<disclaimer>
@PKG_DISCLAIMER@
</disclaimer>
<platform>all</platform>
</extension>
</addon>

View File

@ -63,6 +63,7 @@ if [ -f $PKG_DIR/addon ]; then
-e "s|@PKG_SHORTDESC@|$PKG_SHORTDESC|g" \
-e "s|@OS_VERSION@|$OS_VERSION|g" \
-e "s|@PKG_LONGDESC@|$PKG_LONGDESC|g" \
-e "s|@PKG_DISCLAIMER@|$PKG_DISCLAIMER|g" \
-i $ADDON_BUILD/$PKG_ADDON_ID/addon.xml
fi