addons: use default install_binary_addon helper instead of boiler plate

This commit is contained in:
MilhouseVH
2017-07-19 00:47:49 +01:00
parent 3238f4da71
commit 24d4bd6f32
2 changed files with 14 additions and 2 deletions

View File

@@ -172,8 +172,7 @@ if [ "$PKG_IS_ADDON" = "yes" ] ; then
if [ "$(type -t addon)" = "function" ]; then
addon
else
echo "*** unsupported package format. please convert your package ***"
exit 1
install_binary_addon $PKG_NAME $PKG_ADDON_ID
fi
# HACK for packages that provide multiple addons like screensavers.rsxs