这是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
12 changes: 8 additions & 4 deletions scripts/pkg.in
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,17 @@ show_help() {

echo 'Usage: pkg [--check-mirror] command [arguments]'
echo
echo 'A tool for managing packages.'
echo "A tool for managing $TERMUX_APP_PACKAGE_MANAGER packages."
echo ' --check-mirror forces a re-check of availability of mirrors'
echo
echo 'Commands:'
echo
echo ' autoclean - Remove all outdated packages from .deb package'
echo " autoclean - Remove all outdated packages from $TERMUX_APP_PACKAGE_MANAGER"
echo ' cache.'
echo
echo ' clean - Remove all packages from .deb package cache.'
[ -n "$cache_size" ] && echo " Using $cache_size now."
echo " clean - Remove all packages from $TERMUX_APP_PACKAGE_MANAGER cache."
[ -n "$cache_size" ] &&
echo " Using $cache_size now."
echo
echo ' files <packages> - Show all files installed by packages.'
echo
Expand All @@ -51,6 +52,9 @@ show_help() {
echo ' upgrade - Upgrade all installed packages to the latest'
echo ' version.'
echo
echo " update - Update $TERMUX_APP_PACKAGE_MANAGER databases from configured"
echo ' repositories.'
echo
exit 1
}

Expand Down