build-package.sh: fix situation where subpackage's dependency list is not written to metadata

This commit is contained in:
Leonid Pliushch 2019-05-09 22:46:46 +03:00
parent f67d8a86fe
commit 19c660dc05
1 changed files with 2 additions and 0 deletions

View File

@ -75,6 +75,8 @@ termux_create_subpackages() {
else
echo "Depends: $TERMUX_PKG_NAME (= $TERMUX_PKG_FULLVERSION)" >> control
fi
else
echo "Depends: $TERMUX_SUBPKG_DEPENDS" >> control
fi
test ! -z "$TERMUX_SUBPKG_BREAKS" && echo "Breaks: $TERMUX_SUBPKG_BREAKS" >> control