Merge pull request #134 from stpx/zsh
_xbps: add --unpack-only/-U support for xbps-install.
This commit is contained in:
commit
28a6f8f9e5
@ -68,7 +68,7 @@ _xbps_checkvers() {
|
|||||||
$_xbps_common \
|
$_xbps_common \
|
||||||
{-D,--distdir}'[Set the path to void-packages]:path:_files -/' \
|
{-D,--distdir}'[Set the path to void-packages]:path:_files -/' \
|
||||||
{-i,--installed}'[Check for outdated packages in rootdir]' \
|
{-i,--installed}'[Check for outdated packages in rootdir]' \
|
||||||
{-s,--show-missing}'[List any binary packages which are not built.]' \
|
{-s,--show-missing}'[List any binary packages which are not built]' \
|
||||||
'*:extra packages:_files'
|
'*:extra packages:_files'
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -121,13 +121,14 @@ _xbps_install() {
|
|||||||
$_xbps_common \
|
$_xbps_common \
|
||||||
{-A,--automatic}'[Set automatic installation mode]' \
|
{-A,--automatic}'[Set automatic installation mode]' \
|
||||||
{-c,--cachedir=-}'[Full path to cachedir]:cache dir:_files -/' \
|
{-c,--cachedir=-}'[Full path to cachedir]:cache dir:_files -/' \
|
||||||
|
{-n,--dry-run}'[Dry-run mode]' \
|
||||||
{-f,--force}'[Force package re-installation]' \
|
{-f,--force}'[Force package re-installation]' \
|
||||||
{-i,--ignore-conf-repos}'[Ignore repositories defined in xbps.d]' \
|
{-i,--ignore-conf-repos}'[Ignore repositories defined in xbps.d]' \
|
||||||
{-n,--dry-run}'[Dry-run mode]' \
|
|
||||||
{-M,--memory-sync}'[Keep remote repository data in memory only]' \
|
{-M,--memory-sync}'[Keep remote repository data in memory only]' \
|
||||||
'*'{-R,--repository=-}'[Add repository to the top of the list]:repository url:_files -/' \
|
'*'{-R,--repository=-}'[Add repository to the top of the list]:repository url:_files -/' \
|
||||||
{-S,--sync}'[Sync remote repository index]' \
|
{-S,--sync}'[Sync remote repository index]' \
|
||||||
{-u,--update}'[Update target packages]' \
|
{-u,--update}'[Update target packages]' \
|
||||||
|
{-U,--unpack-only}'[Unpack packages without configuring]' \
|
||||||
{-y,--yes}'[Assume yes to all questions]' \
|
{-y,--yes}'[Assume yes to all questions]' \
|
||||||
'*:available packages:_xbps_all_packages'
|
'*:available packages:_xbps_all_packages'
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user