build-package.sh: fix situation where subpackage's dependency list is not written to metadata
This commit is contained in:
parent
f67d8a86fe
commit
19c660dc05
|
@ -75,6 +75,8 @@ termux_create_subpackages() {
|
||||||
else
|
else
|
||||||
echo "Depends: $TERMUX_PKG_NAME (= $TERMUX_PKG_FULLVERSION)" >> control
|
echo "Depends: $TERMUX_PKG_NAME (= $TERMUX_PKG_FULLVERSION)" >> control
|
||||||
fi
|
fi
|
||||||
|
else
|
||||||
|
echo "Depends: $TERMUX_SUBPKG_DEPENDS" >> control
|
||||||
fi
|
fi
|
||||||
|
|
||||||
test ! -z "$TERMUX_SUBPKG_BREAKS" && echo "Breaks: $TERMUX_SUBPKG_BREAKS" >> control
|
test ! -z "$TERMUX_SUBPKG_BREAKS" && echo "Breaks: $TERMUX_SUBPKG_BREAKS" >> control
|
||||||
|
|
Loading…
Reference in New Issue