mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Merge pull request #4853 from pjz/bash_completion
Include completion scripts in ubuntu/debian package
This commit is contained in:
commit
506055d973
1 changed files with 8 additions and 0 deletions
|
@ -38,6 +38,14 @@ bundle_ubuntu() {
|
|||
mkdir -p $DIR/lib/systemd/system
|
||||
cp contrib/init/systemd/docker.service $DIR/lib/systemd/system/
|
||||
|
||||
# Include contributed completions
|
||||
mkdir -p $DIR/etc/bash_completion.d
|
||||
cp contrib/completion/bash/docker $DIR/etc/bash_completion.d/
|
||||
mkdir -p $DIR/usr/share/zsh/vendor-completions
|
||||
cp contrib/completion/zsh/_docker $DIR/usr/share/zsh/vendor-completions/
|
||||
mkdir -p $DIR/etc/fish/completions
|
||||
cp contrib/completion/fish/docker.fish $DIR/etc/fish/completions/
|
||||
|
||||
# Copy the binary
|
||||
# This will fail if the binary bundle hasn't been built
|
||||
mkdir -p $DIR/usr/bin
|
||||
|
|
Loading…
Reference in a new issue