mirror of
https://git.proxmox.com/git/grub2
synced 2025-08-05 00:51:13 +00:00
Fix incorrect identifiers in bash-completion (closes: #661415).
This commit is contained in:
parent
23e0642a79
commit
85bd824e1a
1
debian/changelog
vendored
1
debian/changelog
vendored
@ -14,6 +14,7 @@ grub2 (1.99-15) UNRELEASED; urgency=low
|
||||
- Handle newer autotools, and add some missing quotes in the process.
|
||||
(Note that this moves grub-mkconfig_lib and update-grub_lib to
|
||||
/usr/share/grub; I added links in /usr/lib/grub for compatibility.)
|
||||
- Fix incorrect identifiers in bash-completion (closes: #661415).
|
||||
* Build with GCC 4.6 (closes: #654727).
|
||||
|
||||
[ Debconf translations ]
|
||||
|
45
debian/patches/bash-completion_identifiers.patch
vendored
Normal file
45
debian/patches/bash-completion_identifiers.patch
vendored
Normal file
@ -0,0 +1,45 @@
|
||||
Description: Fix incorrect identifiers in bash-completion
|
||||
Author: Andreas Born <futur.andy@googlemail.com>
|
||||
Origin: upstream, http://bazaar.launchpad.net/~vcs-imports/grub/grub2-bzr/revision/3426
|
||||
Last-Update: 2012-03-05
|
||||
|
||||
Index: b/util/bash-completion.d/grub-completion.bash.in
|
||||
===================================================================
|
||||
--- a/util/bash-completion.d/grub-completion.bash.in
|
||||
+++ b/util/bash-completion.d/grub-completion.bash.in
|
||||
@@ -402,7 +402,7 @@
|
||||
#
|
||||
# grub-mkpasswd-pbkdf2
|
||||
#
|
||||
-_grub_mkpasswd-pbkdf2 () {
|
||||
+_grub_mkpasswd_pbkdf2 () {
|
||||
local cur
|
||||
|
||||
COMPREPLY=()
|
||||
@@ -417,7 +417,7 @@
|
||||
}
|
||||
__grub_mkpasswd_pbkdf2_program=$( echo grub-mkpasswd-pbkdf2 | sed "@program_transform_name@" )
|
||||
have ${__grub_mkpasswd_pbkdf2_program} && \
|
||||
- complete -F _grub_mkpasswd-pbkdf2 -o filenames ${__grub_mkpasswd_pbkdf2_program}
|
||||
+ complete -F _grub_mkpasswd_pbkdf2 -o filenames ${__grub_mkpasswd_pbkdf2_program}
|
||||
unset __grub_mkpasswd_pbkdf2_program
|
||||
|
||||
|
||||
@@ -462,7 +462,7 @@
|
||||
#
|
||||
# grub-script-check
|
||||
#
|
||||
-_grub_script-check () {
|
||||
+_grub_script_check () {
|
||||
local cur
|
||||
|
||||
COMPREPLY=()
|
||||
@@ -477,7 +477,7 @@
|
||||
}
|
||||
__grub_script_check_program=$( echo grub-script-check | sed "@program_transform_name@" )
|
||||
have ${__grub_script_check_program} && \
|
||||
- complete -F _grub_script-check -o filenames ${__grub_script_check_program}
|
||||
+ complete -F _grub_script_check -o filenames ${__grub_script_check_program}
|
||||
|
||||
|
||||
# Local variables:
|
1
debian/patches/series
vendored
1
debian/patches/series
vendored
@ -33,3 +33,4 @@ no_libzfs.patch
|
||||
xfs_invalid_bmap.patch
|
||||
handle_new_autotools.patch
|
||||
efi_disk_cache.patch
|
||||
bash-completion_identifiers.patch
|
||||
|
Loading…
Reference in New Issue
Block a user