diff options
author | Michał Górny <mgorny@gentoo.org> | 2019-04-28 08:12:19 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2019-04-28 10:42:00 +0200 |
commit | 175b668aca58a84bde399f213014738b1fee40d5 (patch) | |
tree | a7b34a1c7a258633284b07ced3be2b8a36032bde /app-shells/bash-completion | |
parent | app-shells/bash-completion: Refactor completion removal into a func (diff) | |
download | gentoo-175b668aca58a84bde399f213014738b1fee40d5.tar.gz gentoo-175b668aca58a84bde399f213014738b1fee40d5.tar.bz2 gentoo-175b668aca58a84bde399f213014738b1fee40d5.zip |
app-shells/bash-completion: Strip FreeBSD completions on non-fbsd
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'app-shells/bash-completion')
-rw-r--r-- | app-shells/bash-completion/bash-completion-9999.ebuild | 6 |
1 files changed, 6 insertions, 0 deletions
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 |