mgorny      14/10/13 08:28:56

  Modified:             pmount.bash-completion
  Log:
  Remove use of deprecated "have" and alias pumount for new bash-completion, 
bug #521158.
  
  (Portage version: 2.2.14_rc1/cvs/Linux x86_64, signed Manifest commit with 
key EFB4464E!)

Revision  Changes    Path
1.2                  sys-apps/pmount/files/pmount.bash-completion

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/pmount/files/pmount.bash-completion?rev=1.2&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/pmount/files/pmount.bash-completion?rev=1.2&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/pmount/files/pmount.bash-completion?r1=1.1&r2=1.2

Index: pmount.bash-completion
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-apps/pmount/files/pmount.bash-completion,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- pmount.bash-completion      18 Apr 2014 18:19:51 -0000      1.1
+++ pmount.bash-completion      13 Oct 2014 08:28:56 -0000      1.2
@@ -19,7 +19,6 @@
 # Output:
 #   COMPREPLY array variable contains possible completions
 
-have pmount &&
 _pmount() {
 
    local cur prev options devices fslist
@@ -67,7 +66,6 @@
 }
 
 
-have pumount &&
 _pumount() {
 
    local cur prev options devices mdir
@@ -91,6 +89,6 @@
    return 0
 }
 
-[ "$have" ] && complete -F _pmount $filenames pmount
-[ "$have" ] && complete -F _pumount $filenames pumount
+complete -F _pmount $filenames pmount
+complete -F _pumount $filenames pumount
 




Reply via email to