From: Michał Górny Date: Sun, 28 Apr 2019 06:12:19 +0000 (+0200) Subject: app-shells/bash-completion: Strip FreeBSD completions on non-fbsd X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=175b668aca58a84bde399f213014738b1fee40d5;p=gentoo.git app-shells/bash-completion: Strip FreeBSD completions on non-fbsd Signed-off-by: Michał Górny --- diff --git a/app-shells/bash-completion/bash-completion-9999.ebuild b/app-shells/bash-completion/bash-completion-9999.ebuild index 73e95569c3b2..cd39105748bb 100644 --- a/app-shells/bash-completion/bash-completion-9999.ebuild +++ b/app-shells/bash-completion/bash-completion-9999.ebuild @@ -52,6 +52,12 @@ strip_completions() { # Now-dead symlinks to deprecated completions hd ncal ) + 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