diff -up PolicyKit-0.9/tools/polkit-bash-completion.sh~ PolicyKit-0.9/tools/polkit-bash-completion.sh --- PolicyKit-0.9/tools/polkit-bash-completion.sh~ 2008-05-31 00:24:44.000000000 +0300 +++ PolicyKit-0.9/tools/polkit-bash-completion.sh 2008-10-03 00:39:08.000000000 +0300 @@ -1,6 +1,6 @@ -# Check for bash -[ -z "$BASH_VERSION" ] && return +# Check for interactive bash +[ -z "$BASH_VERSION" -o -z "$PS1" ] && return ####################################################################################################