Package: yafc
Version: 1.3.1-1
Severity: minor

The completion helper script is installed as:
/usr/share/bash-completions/completions/yafc
it should be:
/usr/share/bash-completion/completions/yafc
After relocating the file, unfortunately it still didn't work.  I was able
to fix it easily enough, however, by comparing with other simple working
completions:

### begin diff
--- /usr/share/bash-completion/completions/yafc.orig    2014-01-16 
19:43:09.767412420 -0500
+++ /usr/share/bash-completion/completions/yafc 2014-01-16 19:44:23.936038313 
-0500
@@ -1,6 +1,5 @@
 # bash completion for yafc
 
-have yafc &&
 _yafc()
 {
     local cur
@@ -15,7 +14,7 @@
 
     return 0
 } &&
-complete -F _yafc $default yafc
+complete -F _yafc -o default yafc
 
 # Local variables:
 # mode: shell-script
### end diff

-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.12-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages yafc depends on:
ii  libbsd0              0.6.0-1
ii  libc6                2.17-97
ii  libedit2             3.1-20130712-2
ii  libgssapi3-heimdal   1.6~git20131117+dfsg-3
ii  libhcrypto4-heimdal  1.6~git20131117+dfsg-3
ii  libroken18-heimdal   1.6~git20131117+dfsg-3
ii  libssh-4             0.5.4-1

yafc recommends no packages.

yafc suggests no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to