这是indexloc提供的服务,不要输入任何密码
Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions scripts/build/termux_step_update_alternatives.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ termux_parse_alternatives() {
}

termux_step_update_alternatives() {
printf '%s\n' "INFO: Processing 'update-alternatives' entries:" &> /dev/stderr
printf '%s\n' "INFO: Processing 'update-alternatives' entries:" 1>&2
for alternatives_file in "${TERMUX_PKG_BUILDER_DIR}"/*.alternatives; do
[[ -f "$alternatives_file" ]] || continue
local -a NAME=()
Expand Down Expand Up @@ -91,7 +91,7 @@ termux_step_update_alternatives() {
# Remove each group
for name in "${NAME[@]}"; do
# Log message for this alternative group
printf 'INFO: %s\n' "${name} -> ${ALTERNATIVE[$name]} (${PRIORITY[$name]})" &> /dev/stderr
printf 'INFO: %s\n' "${name} -> ${ALTERNATIVE[$name]} (${PRIORITY[$name]})" 1>&2
# Removal line
printf '%s\n' " update-alternatives --remove \"${name}\" \"${TERMUX_PREFIX}/${ALTERNATIVE[$name]}\""
done
Expand Down