Please make installing the package's 'zfs' bash-completion script conditional upon the USE flag. The default can be enabled: +bash-completion We have our own custom written zfs bash completion script that handles relative directory to zfs dataset resolutions and is installed with our ZFS helpers custom ebuild. Adding this USE flag will prevent us from colliding with Gentoo's sys-fs/zfs ebuild and having to do ugly things in pkg_postinst() to override it. Thank you. Reproducible: Always
We don’t add USE flags for conditional small file installations: https://projects.gentoo.org/qa/policy-guide/installed-files.html#pg0301 I suggest you use INSTALL_MASK in package.env?
^^ what Sam said. sorry, it's against QA_POLICY to control installation of small text files via useflags. INSTALL_MASK=" /usr/share/bash-completion/completions/zfs /usr/share/bash-completion/completions/zpool " in /etc/portage/make.conf or in /etc/portage/env/sys-fs/zfs will prevent portage from installing those files.