Revert "termux_create_subpackages: add data/ to tar instead of ./"

Unfortunately this does not play nicely with aptly, see
https://github.com/termux/termux-packages/pull/7335#issuecomment-904202191.

This reverts commit b8e2bdf853.
This commit is contained in:
Henrik Grimler 2021-08-24 13:30:02 +02:00
parent 1ff378008f
commit c5e4480515

View File

@ -51,7 +51,7 @@ termux_create_subpackages() {
cd "$SUB_PKG_DIR/massage" cd "$SUB_PKG_DIR/massage"
local SUB_PKG_INSTALLSIZE local SUB_PKG_INSTALLSIZE
SUB_PKG_INSTALLSIZE=$(du -sk . | cut -f 1) SUB_PKG_INSTALLSIZE=$(du -sk . | cut -f 1)
tar -cJf "$SUB_PKG_PACKAGE_DIR/data.tar.xz" data tar -cJf "$SUB_PKG_PACKAGE_DIR/data.tar.xz" .
mkdir -p DEBIAN mkdir -p DEBIAN
cd DEBIAN cd DEBIAN