build-package.sh: remove or operator in dependencies for pacman format (#8179)
This commit is contained in:
parent
affe5b26eb
commit
d36faee697
@ -102,7 +102,7 @@ termux_create_pacman_subpackages() {
|
||||
fi
|
||||
|
||||
if [ -n "$TERMUX_SUBPKG_DEPENDS" ]; then
|
||||
tr ',' '\n' <<< "${TERMUX_SUBPKG_DEPENDS/#, /}" | sed 's|(||g; s|)||g; s| ||g; s|>>|>|g; s|<<|<|g' | awk '{ printf "depend = %s\n", $1 }'
|
||||
tr ',' '\n' <<< "${TERMUX_SUBPKG_DEPENDS/#, /}" | sed 's|(||g; s|)||g; s| ||g; s|>>|>|g; s|<<|<|g' | awk '{ printf "depend = %s\n", $1 }' | sed 's/|.*//'
|
||||
fi
|
||||
|
||||
if [ -n "$TERMUX_SUBPKG_CONFFILES" ]; then
|
||||
|
@ -83,7 +83,7 @@ termux_step_create_pacman_package() {
|
||||
fi
|
||||
|
||||
if [ -n "$TERMUX_PKG_DEPENDS" ]; then
|
||||
tr ',' '\n' <<< "$TERMUX_PKG_DEPENDS" | sed 's|(||g; s|)||g; s| ||g; s|>>|>|g; s|<<|<|g' | awk '{ printf "depend = %s\n", $1 }'
|
||||
tr ',' '\n' <<< "$TERMUX_PKG_DEPENDS" | sed 's|(||g; s|)||g; s| ||g; s|>>|>|g; s|<<|<|g' | awk '{ printf "depend = %s\n", $1 }' | sed 's/|.*//'
|
||||
fi
|
||||
|
||||
if [ -n "$TERMUX_PKG_RECOMMENDS" ]; then
|
||||
|
Loading…
Reference in New Issue
Block a user