[packages/bash-completion] poldek: load rpm completions on demand

glen glen at pld-linux.org
Fri Aug 17 00:03:58 CEST 2012


commit 0b9f2c011bc50e895ef31f11fdec54a0556991bd
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Fri Aug 17 01:03:55 2012 +0300

    poldek: load rpm completions on demand

 bash-completion-poldek.sh | 2 +-
 bash-completion.spec      | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/bash-completion.spec b/bash-completion.spec
index e373ba3..51263e2 100644
--- a/bash-completion.spec
+++ b/bash-completion.spec
@@ -6,7 +6,7 @@ Summary:	bash-completion offers programmable completion for bash
 Summary(pl.UTF-8):	Programowalne uzupełnianie nazw dla basha
 Name:		bash-completion
 Version:	2.0
-Release:	2
+Release:	3
 Epoch:		1
 License:	GPL v2+
 Group:		Applications/Shells
diff --git a/bash-completion-poldek.sh b/bash-completion-poldek.sh
index 1cbc5f6..3682c47 100644
--- a/bash-completion-poldek.sh
+++ b/bash-completion-poldek.sh
@@ -12,7 +12,7 @@ _poldek()
 		if [[ "$cur" == -* ]]; then
 			COMPREPLY=( $( compgen -W '--nodeps --nofollow --test' -- $cur ) )
 		else
-			_rpm_installed_packages
+			_xfunc rpm _rpm_installed_packages
 		fi
 		return 0
 		;;


More information about the pld-cvs-commit mailing list