Mail archive
alpine-devel

Re: [alpine-devel] [PATCH] main/git: bash-completion subpackage

From: Eivind Uggedal <eivind_at_uggedal.com>
Date: Wed, 27 Nov 2013 15:55:07 +0100

On Wed, Nov 27, 2013 at 1:30 PM, Timo Teras <timo.teras_at_iki.fi> wrote:
>
> On Wed, 27 Nov 2013 11:50:44 +0000
> Eivind Uggedal <eivind_at_uggedal.com> wrote:
>
> > _at_@ -75,6 +75,16 @@ svn() {
> > mv "$pkgdir"/usr/libexec/git-core/git-svn
> > "$subpkgdir"/usr/libexec/git-core }
> >
> > +completion() {
> > + depends=""
> > + pkgdesc="Bash completion script for git"
> > + arch="noarch"
> > + replaces=""
> > +
>
> Would it make sense to have here install_if="git bash" or
> install_if="git bash-completion" or similar?

I didn't know about `install_if`. Seems it's used sparsely in the
aports repo. But it would be nice to pull in the completion packages
if one have bash-completion installed.

By this logic, should default_doc add an install_if="man"?

Eivind


---
Unsubscribe:  alpine-devel+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-devel+help_at_lists.alpinelinux.org
---
Received on Wed Nov 27 2013 - 15:55:07 GMT