PolicyKit: Branch 'master'

David Zeuthen david at kemper.freedesktop.org
Tue Dec 18 10:55:48 PST 2007


 tools/polkit-bash-completion.sh |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit 4cfb96627a5afbe34c0bc583bdcf4caf306bf1a5
Author: David Zeuthen <davidz at redhat.com>
Date:   Tue Dec 18 13:50:38 2007 -0500

    actually check for bash in polkit-bash-completion.sh
    
    Some zsh users complained about this
    
    https://bugzilla.redhat.com/show_bug.cgi?id=418471

diff --git a/tools/polkit-bash-completion.sh b/tools/polkit-bash-completion.sh
index c454478..37e5ee1 100644
--- a/tools/polkit-bash-completion.sh
+++ b/tools/polkit-bash-completion.sh
@@ -1,4 +1,7 @@
 
+# Check for bash                                                                
+[ -z "$BASH_VERSION" ] && return
+
 ####################################################################################################
 
 __polkit_auth() {


More information about the hal-commit mailing list