mirror of
https://github.com/termux-pacman/termux-packages.git
synced 2026-01-06 10:53:21 +00:00
Unfortunately this does not play nicely with aptly, see https://github.com/termux/termux-packages/pull/7335#issuecomment-904202191. This reverts commit b7e6ef99702aea61cd8baedd0c7ef315c35ab30c.
9 lines
199 B
Bash
9 lines
199 B
Bash
termux_step_create_datatar() {
|
|
if [ "$TERMUX_PKG_METAPACKAGE" = "true" ]; then
|
|
# Metapackage doesn't have data inside.
|
|
rm -rf data
|
|
fi
|
|
|
|
tar -cJf "$TERMUX_PKG_PACKAGEDIR/data.tar.xz" -H gnu .
|
|
}
|