forked from pool/bash-completion
bsc#1199724
OBS-URL: https://build.opensuse.org/package/show/shells/bash-completion?expand=0&rev=126
This commit is contained in:
parent
ba5b0e999b
commit
1b814b2727
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon May 23 10:37:27 UTC 2022 - Dr. Werner Fink <werner@suse.de>
|
||||
|
||||
- Add patch bsc1199724-modules.patch (bsc#1199724)
|
||||
* Enable upstream commit to list ko.zst modules as well
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 28 19:19:55 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
|
@ -68,6 +68,8 @@ Patch11: bash-completion-2.7-unRAR-remove.patch
|
||||
Patch12: bash-completion-fix-missing-directory-completion-with-filename-pattern.patch
|
||||
# PATCH-FIX-SUSE boo#1190929
|
||||
Patch13: boo1190929-9af4afd0.patch
|
||||
# PATCH-FIX-SUSE boo#1199724
|
||||
Patch14: bsc1199724-modules.patch
|
||||
BuildRequires: libtool
|
||||
BuildRequires: pkgconfig
|
||||
BuildArch: noarch
|
||||
|
15
bsc1199724-modules.patch
Normal file
15
bsc1199724-modules.patch
Normal file
@ -0,0 +1,15 @@
|
||||
---
|
||||
bash_completion | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
--- a/bash_completion
|
||||
+++ b/bash_completion 2022-05-23 10:50:43.197937832 +0000
|
||||
@@ -1316,7 +1316,7 @@ _modules()
|
||||
local modpath
|
||||
modpath=/lib/modules/$1
|
||||
COMPREPLY=($(compgen -W "$(command ls -RL $modpath 2>/dev/null |
|
||||
- command sed -ne 's/^\(.*\)\.k\{0,1\}o\(\.[gx]z\)\{0,1\}$/\1/p')" -- "$cur"))
|
||||
+ command sed -ne 's/^\(.*\)\.k\{0,1\}o\(\.[gx]z\|\.bz2\|\.zst\)\{0,1\}$/\1/p')" -- "$cur"))
|
||||
}
|
||||
|
||||
# This function completes on installed modules
|
Loading…
x
Reference in New Issue
Block a user