这是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/pkg.in
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ case "$TERMUX_APP_PACKAGE_MANAGER" in
se*) select_mirror; update_apt_cache; apt search "$@";;
un*|rem*|rm|del*) apt remove "$@";;
upd*) select_mirror; apt update;;
upg*) select_mirror; apt update; apt full-upgrade "$@";;
up|upg*) select_mirror; apt update; apt full-upgrade "$@";;
*) ERROR=true;;
esac;;
pacman)
Expand All @@ -354,7 +354,7 @@ case "$TERMUX_APP_PACKAGE_MANAGER" in
se*) pacman -Sys "$@";;
un*|rem*|rm|del*) pacman -Rcns "$@";;
upd*) pacman -Sy "$@";;
upg*) pacman -Syu "$@";;
up|upg*) pacman -Syu "$@";;
*) ERROR=true;;
esac;;
esac
Expand Down