summaryrefslogtreecommitdiff
path: root/Completion/Unix/Command/_install
diff options
context:
space:
mode:
authorAxel Beckert <abe@deuxchevaux.org>2020-02-14 01:58:20 +0100
committerAxel Beckert <abe@deuxchevaux.org>2020-02-14 01:58:20 +0100
commitbfc5d42735c1660263904ec5254cccf539a0a458 (patch)
tree9bbb81b4a53941427e6f9e65ae55027d9108df8c /Completion/Unix/Command/_install
parent74561cc51b8867e43cb2937ab2edfb36e2a829bf (diff)
parent643de931640e01aa246723d2038328ef33737965 (diff)
downloadzsh-bfc5d42735c1660263904ec5254cccf539a0a458.tar.gz
zsh-bfc5d42735c1660263904ec5254cccf539a0a458.zip
Merge tag 'zsh-5.7.1-test-3' into debian
Test release: 5.7.1-test-3
Diffstat (limited to 'Completion/Unix/Command/_install')
-rw-r--r--Completion/Unix/Command/_install10
1 files changed, 6 insertions, 4 deletions
diff --git a/Completion/Unix/Command/_install b/Completion/Unix/Command/_install
index 80a1b0c00..5ad84645e 100644
--- a/Completion/Unix/Command/_install
+++ b/Completion/Unix/Command/_install
@@ -25,7 +25,7 @@ if _pick_variant gnu='Free Soft' unix --version; then
args+=(
$common_args
'(-b --backup)--backup=[create backup; optionally specify method]:: :->controls'
- "${lx}--context=[like -Z, or specify SELinux security context to set]::SELinux security context"
+ "${lx}--context=-[like -Z, or specify SELinux security context to set]::SELinux security context:_selinux_contexts"
'-D[create all leading destination path components]'
'(: -)--help[display help information]'
"${lx}--preserve-context[preserve SELinux security context]"
@@ -64,14 +64,16 @@ else
[[ $OSTYPE == (darwin|dragonfly)* ]] && args+=(
'-M[disable use of mmap(2)]'
)
+ [[ $OSTYPE == (dragonfly|freebsd|netbsd)* ]] && args+=(
+ '(-C -c --compare)-l+[link files (rather than copy) using specified method]: :->linkflags'
+ '+N+[use user/group database files from specified directory]: :_directories'
+ '-U[indicate that install is unprivileged]'
+ )
[[ $OSTYPE == (freebsd|netbsd)* ]] && args+=(
'-D+[specify destination directory used for metadata log]: :_directories'
'-h+[store digest in metadata log using specified method]: :->digests'
- '(-C -c --compare)-l+[link files (rather than copy) using specified method]: :->linkflags'
'-M+[log mtree(8) metadata for installed files to specified file]:metadata log file:_files'
- '+N+[use user/group database files from specified directory]: :_directories'
'-T+[specify mtree(8) tags to store in metadata log]:mtree(8) tags'
- '-U[indicate that install is unprivileged]'
)
[[ $OSTYPE == netbsd* ]] || args+=(
'-S[use temporary files to perform safe copy]'