summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-06-03 03:15:52 +0100
committerSam James <sam@gentoo.org>2023-06-10 11:23:56 +0100
commitc4f726c53b6af6c3dab6a57943dd7a00ab5e937d (patch)
tree52f12f5b63b640802afee506c16ae286ea668538 /app-shells
parentapp-editors/nano: drop dead prefix targets (diff)
downloadgentoo-c4f726c53b6af6c3dab6a57943dd7a00ab5e937d.tar.gz
gentoo-c4f726c53b6af6c3dab6a57943dd7a00ab5e937d.tar.bz2
gentoo-c4f726c53b6af6c3dab6a57943dd7a00ab5e937d.zip
app-shells/bash-completion: drop dead prefix targets
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-shells')
-rw-r--r--app-shells/bash-completion/bash-completion-2.11.ebuild10
-rw-r--r--app-shells/bash-completion/bash-completion-9999.ebuild10
2 files changed, 8 insertions, 12 deletions
diff --git a/app-shells/bash-completion/bash-completion-2.11.ebuild b/app-shells/bash-completion/bash-completion-2.11.ebuild
index c6323ea788a9..9d1182abc528 100644
--- a/app-shells/bash-completion/bash-completion-2.11.ebuild
+++ b/app-shells/bash-completion/bash-completion-2.11.ebuild
@@ -57,13 +57,11 @@ strip_completions() {
# Now-dead symlinks to deprecated completions
hd ncal
+
+ # FreeBSD
+ freebsd-update kldload kldunload portinstall portsnap
+ pkg_deinstall pkg_delete pkg_info
)
- if [[ ${ARCH} != *-fbsd && ${ARCH} != *-freebsd ]]; then
- strip_completions+=(
- freebsd-update kldload kldunload portinstall portsnap
- pkg_deinstall pkg_delete pkg_info
- )
- fi
local file
for file in "${strip_completions[@]}"; do
diff --git a/app-shells/bash-completion/bash-completion-9999.ebuild b/app-shells/bash-completion/bash-completion-9999.ebuild
index 8d39bca2b242..7e597f994ebc 100644
--- a/app-shells/bash-completion/bash-completion-9999.ebuild
+++ b/app-shells/bash-completion/bash-completion-9999.ebuild
@@ -51,13 +51,11 @@ strip_completions() {
# Now-dead symlinks to deprecated completions
hd ncal
+
+ # FreeBSD
+ freebsd-update kldload kldunload portinstall portsnap
+ pkg_deinstall pkg_delete pkg_info
)
- if [[ ${ARCH} != *-fbsd && ${ARCH} != *-freebsd ]]; then
- strip_completions+=(
- freebsd-update kldload kldunload portinstall portsnap
- pkg_deinstall pkg_delete pkg_info
- )
- fi
local file
for file in "${strip_completions[@]}"; do