mirror of
https://github.com/flatcar/scripts.git
synced 2025-12-08 19:02:10 +01:00
app-shells/bash-completion: Sync with Gentoo
It's from Gentoo commit c4f726c53b6af6c3dab6a57943dd7a00ab5e937d.
This commit is contained in:
parent
3175090fc4
commit
e4dee0a46a
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user