* on Saturday, 2019-10-19 18:15 +1000, Allan McRae <[email protected]> wrote:

> /bin/sh -> bash/dash
> /usr/bin/awk -> gawk/nawk
> /usr/bin/cc -> gcc/clang

Can we provide alternatives by means of sets of mutually exclusive link 
packages, using package properties that are already supported in pacman?

sh-bash
        provides=('sh')
        depends=('bash')
        conflicts=('sh-dash')
sh-dash
        provides=('sh')
        depends=('dash')
        conflicts=('sh-bash')
bash
        depends('sh')
dash
        depends('sh')

The circular dependency can only be satisfied at install time if bash is 
installed together with sh-bash, or if another sh provider already exists in 
the system (e.g. dash and sh-dash).

Daan

Attachment: signature.asc
Description: PGP signature

Reply via email to