Install yum-arch completion only if yum-arch is installed.
This commit is contained in:
parent
aa2851d549
commit
2e56e54580
@ -92,10 +92,12 @@ _yum()
|
||||
;;
|
||||
esac
|
||||
}
|
||||
} &&
|
||||
complete -F _yum $filenames yum
|
||||
|
||||
# yum-arch(8) completion
|
||||
#
|
||||
have yum-arch &&
|
||||
_yum_arch()
|
||||
{
|
||||
local cur
|
||||
@ -112,7 +114,5 @@ _yum_arch()
|
||||
esac
|
||||
|
||||
return 0
|
||||
|
||||
}
|
||||
} &&
|
||||
complete -F _yum_arch $filenames yum-arch
|
||||
}
|
||||
|
1
debian/changelog
vendored
1
debian/changelog
vendored
@ -5,6 +5,7 @@ bash-completion (1:1.x) UNRELEASED; urgency=low
|
||||
|
||||
[ Ville Skyttä ]
|
||||
* Split yum and yum-arch completion into contrib/yum.
|
||||
* Install yum-arch completion only if yum-arch is installed.
|
||||
|
||||
-- David Paleino <d.paleino@gmail.com> Wed, 25 Mar 2009 23:18:24 +0100
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user