Drop the check for quilt being present. No other completion file has
such a check, because it's useless. If the program isn't installed
then its completion file isn't installed either.
---
On top of my previous patch set.

 bash_completion |    4 ----
 1 file changed, 4 deletions(-)

--- a/bash_completion
+++ b/bash_completion
@@ -11,8 +11,6 @@
 # completion to work then you must set QUILT_PC in your global environment
 # (for example in ~/.profile) and not just in your quiltrc file.
 
-if type quilt &> /dev/null ; then
-
 # Complete on files (by default) or directories (with -d)
 #
 _quilt_comfile()
@@ -243,5 +241,3 @@ _quilt_completion()
 && _quilt_complete_opt="-o filenames"
 complete -F _quilt_completion $_quilt_complete_opt quilt
 unset -v _quilt_complete_opt
-
-fi

-- 
Jean Delvare
Suse L3 Support


_______________________________________________
Quilt-dev mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/quilt-dev

Reply via email to