contrib/munin-node fixed (Debian: #550943)

This commit is contained in:
David Paleino 2009-10-16 19:46:51 +02:00
parent 5ca835bfac
commit ffe704c24b
2 changed files with 7 additions and 6 deletions

View File

@ -5,6 +5,7 @@ bash-completion (1.x)
available, since it's not available on MacOS X. Thanks to Rainer available, since it's not available on MacOS X. Thanks to Rainer
Müller <raimue@codingfarm.de> (bash-completion MacPorts maintainer) Müller <raimue@codingfarm.de> (bash-completion MacPorts maintainer)
* Fixed "freq" and "rate" completion for iwconfig * Fixed "freq" and "rate" completion for iwconfig
* contrib/munin-node fixed (Debian: #550943)
[ Ville Skyttä ] [ Ville Skyttä ]
* Create bz2 dist tarball too. * Create bz2 dist tarball too.

View File

@ -1,7 +1,7 @@
# bash completion for munin node # bash completion for munin node
have munin-run && have munin-run &&
_munin-run() _munin_run()
{ {
local cur prev local cur prev
@ -28,10 +28,10 @@ _munin-run()
-- "$cur" ) ) -- "$cur" ) )
fi fi
} && } &&
complete -F _munin-run munin-run complete -F _munin_run munin-run
have munin-update && have munin-update &&
_munin-update() _munin_update()
{ {
local cur prev local cur prev
@ -56,10 +56,10 @@ _munin-update()
--fork --nofork --stdout --nostdout --timeout' -- "$cur" ) ) --fork --nofork --stdout --nostdout --timeout' -- "$cur" ) )
fi fi
} && } &&
complete -F _munin-update munin-update complete -F _munin_update munin-update
have munin-node-configure && have munin-node-configure &&
_munin-node-configure() _munin_node_configure()
{ {
local cur prev local cur prev
@ -92,7 +92,7 @@ _munin-node-configure()
--remove-also --snmp --snmpversion --snmpcommunity' -- "$cur" ) ) --remove-also --snmp --snmpversion --snmpcommunity' -- "$cur" ) )
fi fi
} && } &&
complete -F _munin-node-configure munin-node-configure complete -F _munin_node_configure munin-node-configure
# Local variables: # Local variables:
# mode: shell-script # mode: shell-script