Skip to content

Commit

Permalink
termux_step_create_pacman_package.sh: adding remove data folder if …
Browse files Browse the repository at this point in the history
…it is a metapackage (#21607)
  • Loading branch information
Maxython authored Sep 29, 2024
1 parent eb4df12 commit 3b306fa
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions scripts/build/termux_step_create_pacman_package.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
termux_step_create_pacman_package() {
if [ "$TERMUX_PKG_METAPACKAGE" = "true" ]; then
# Metapackage doesn't have data inside.
rm -rf data
fi

local TERMUX_PKG_INSTALLSIZE
TERMUX_PKG_INSTALLSIZE=$(du -bs . | cut -f 1)

Expand Down

0 comments on commit 3b306fa

Please sign in to comment.