summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz93@gmail.com>2024-06-26 13:01:17 -0400
committerSam James <sam@gentoo.org>2024-06-27 03:57:32 +0100
commitc04518a1840f3481e2b21b7934204986a26b6beb (patch)
treec0ed20aa7540912fb4097da6c5146aa1314b5437 /app-text/lesspipe
parentdev-python/a2wsgi: Bump to 1.10.6 (diff)
downloadgentoo-c04518a1840f3481e2b21b7934204986a26b6beb.tar.gz
gentoo-c04518a1840f3481e2b21b7934204986a26b6beb.tar.bz2
gentoo-c04518a1840f3481e2b21b7934204986a26b6beb.zip
app-text/lesspipe: avoid a false positive bash-completion QA warning
We leave an empty directory behind after moving the completion files around. Portage's QA check thinks that means we are actually using a legacy dynamic loader location?? * QA Notice: Bash completions were installed in legacy location. Please update * the ebuild to get the install paths using bash-completion-r1.eclass. But the eclass doesn't support the eager-loader directory at all, and the QA notice isn't warning about it either -- the warning is simply because we have that empty directory (that gets cleaned up after the QA checks run, since keepdir isn't used). No revbump. It only affects an install-time warning and rmdir cannot change the resulting package contents. Closes: https://bugs.gentoo.org/926047 Signed-off-by: Eli Schwartz <eschwartz93@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-text/lesspipe')
-rw-r--r--app-text/lesspipe/lesspipe-2.11-r1.ebuild1
-rw-r--r--app-text/lesspipe/lesspipe-2.12.ebuild1
-rw-r--r--app-text/lesspipe/lesspipe-2.13.ebuild1
3 files changed, 3 insertions, 0 deletions
diff --git a/app-text/lesspipe/lesspipe-2.11-r1.ebuild b/app-text/lesspipe/lesspipe-2.11-r1.ebuild
index 975d91af0d67..bbd53d1c3046 100644
--- a/app-text/lesspipe/lesspipe-2.11-r1.ebuild
+++ b/app-text/lesspipe/lesspipe-2.11-r1.ebuild
@@ -55,6 +55,7 @@ src_install() {
# . /usr/share/bash-completion/less_completion
# Or consider installing the file less_completion in /etc/bashcompletion.d
rm "${ED}"/usr/share/bash-completion/less_completion || die
+ rmdir "${ED}"/usr/share/bash-completion || die
insinto /etc/bash_completion.d
doins less_completion
}
diff --git a/app-text/lesspipe/lesspipe-2.12.ebuild b/app-text/lesspipe/lesspipe-2.12.ebuild
index 24065f86cbcf..a0393dafe206 100644
--- a/app-text/lesspipe/lesspipe-2.12.ebuild
+++ b/app-text/lesspipe/lesspipe-2.12.ebuild
@@ -50,6 +50,7 @@ src_install() {
# . /usr/share/bash-completion/less_completion
# Or consider installing the file less_completion in /etc/bashcompletion.d
rm "${ED}"/usr/share/bash-completion/less_completion || die
+ rmdir "${ED}"/usr/share/bash-completion || die
insinto /etc/bash_completion.d
doins less_completion
}
diff --git a/app-text/lesspipe/lesspipe-2.13.ebuild b/app-text/lesspipe/lesspipe-2.13.ebuild
index 9b06994b07f0..31e7d52d9b69 100644
--- a/app-text/lesspipe/lesspipe-2.13.ebuild
+++ b/app-text/lesspipe/lesspipe-2.13.ebuild
@@ -50,6 +50,7 @@ src_install() {
# . /usr/share/bash-completion/less_completion
# Or consider installing the file less_completion in /etc/bashcompletion.d
rm "${ED}"/usr/share/bash-completion/less_completion || die
+ rmdir "${ED}"/usr/share/bash-completion || die
insinto /etc/bash_completion.d
doins less_completion
}