From 175b668aca58a84bde399f213014738b1fee40d5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Micha=C5=82=20G=C3=B3rny?= Date: Sun, 28 Apr 2019 08:12:19 +0200 Subject: [PATCH] app-shells/bash-completion: Strip FreeBSD completions on non-fbsd MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- app-shells/bash-completion/bash-completion-9999.ebuild | 6 ++++++ 1 file changed, 6 insertions(+) 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 -- 2.26.2