diff options
author | Marek Szuba <marecki@gentoo.org> | 2020-04-24 15:22:56 +0100 |
---|---|---|
committer | Marek Szuba <marecki@gentoo.org> | 2020-04-24 15:25:42 +0100 |
commit | 2c94ad560187ec2a882d9d5805a396e0919e93de (patch) | |
tree | 9ce055ef5089879ba0c7d4da0c84dc4e55332586 | |
parent | app-office/calligra: 3.2.0 version bump (diff) | |
download | gentoo-2c94ad560187ec2a882d9d5805a396e0919e93de.tar.gz gentoo-2c94ad560187ec2a882d9d5805a396e0919e93de.tar.bz2 gentoo-2c94ad560187ec2a882d9d5805a396e0919e93de.zip |
sys-cluster/singularity: do not install bash-completion rules
Singularity installs them into the compatibility directory
(/etc/bash_completions.d), moreover they might be automatically generated
but they are still badly broken (confirmed to affect quite a few
commands which have got nothing to do with singularity).
With apologies to everyone who will end up emerge a revbump just to get
rid of a single shell file.
Signed-off-by: Marek Szuba <marecki@gentoo.org>
-rw-r--r-- | sys-cluster/singularity/singularity-3.5.3-r1.ebuild (renamed from sys-cluster/singularity/singularity-3.5.3.ebuild) | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/sys-cluster/singularity/singularity-3.5.3.ebuild b/sys-cluster/singularity/singularity-3.5.3-r1.ebuild index 2a51a4074fcd..16834ae083a3 100644 --- a/sys-cluster/singularity/singularity-3.5.3.ebuild +++ b/sys-cluster/singularity/singularity-3.5.3-r1.ebuild @@ -52,6 +52,16 @@ src_install() { emake DESTDIR="${ED}" -C builddir install keepdir /var/singularity/mnt/session + # As of version 3.5.3 this seems to be very much broken, affecting + # commands which have got nothing to do with singularity (example: + # completion on 'udisks mount -b /dev/' rejects all files from that + # directory other than 'autofs'). Moreover, this should go into + # $(get_bashcompdir) (from bash-completion-r1.eclass) rather than /etc. + # Hopefully temporary, which is why we delete this at install time + # instead of patching build scripts not to generate bash-completion + # data in the first place. + rm -rf "${ED}"/etc/bash_completion.d || die + dodoc README.md CONTRIBUTORS.md CONTRIBUTING.md if use examples; then dodoc -r examples |