scripts/create_addon: use pkg_call

This commit is contained in:
MilhouseVH 2018-11-28 15:36:51 +00:00
parent b5be90e394
commit aaa8c7e493

View File

@ -208,9 +208,7 @@ build_addon() {
rm -rf $ADDON_BUILD
# install addon parts
if [ "$(type -t addon)" = "function" ]; then
addon
else
if ! pkg_call addon; then
install_binary_addon $PKG_ADDON_ID
fi