summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2008-06-30 15:55:23 +0200
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2008-06-30 16:00:35 +0200
commitc7d8c8208498a2072f8e37e02790e8db74ba8ed2 (patch)
tree3484c254a6d17445231aa9317462da221d80eeb9 /data
parent5e79114beb906784e5f72c42127ade5036aef19e (diff)
* external execute plugin default to non-absolute paths
Diffstat (limited to 'data')
-rw-r--r--data/rbot/plugins/cal.rb2
-rw-r--r--data/rbot/plugins/figlet.rb4
-rw-r--r--data/rbot/plugins/host.rb2
-rw-r--r--data/rbot/plugins/spell.rb2
4 files changed, 5 insertions, 5 deletions
diff --git a/data/rbot/plugins/cal.rb b/data/rbot/plugins/cal.rb
index bfac39e5..9190f8e9 100644
--- a/data/rbot/plugins/cal.rb
+++ b/data/rbot/plugins/cal.rb
@@ -1,6 +1,6 @@
class CalPlugin < Plugin
Config.register Config::StringValue.new('cal.path',
- :default => '/usr/bin/cal',
+ :default => 'cal',
:desc => _('Path to the cal program'))
def help(plugin, topic="")
diff --git a/data/rbot/plugins/figlet.rb b/data/rbot/plugins/figlet.rb
index 7a3d1935..1b0c9fc0 100644
--- a/data/rbot/plugins/figlet.rb
+++ b/data/rbot/plugins/figlet.rb
@@ -7,7 +7,7 @@ class FigletPlugin < Plugin
MAX_WIDTH=68
Config.register Config::StringValue.new('figlet.path',
- :default => '/usr/bin/figlet',
+ :default => 'figlet',
:desc => _('Path to the figlet program'),
:on_change => Proc.new { |bot, v| bot.plugins['figlet'].test_figlet })
@@ -18,7 +18,7 @@ class FigletPlugin < Plugin
:on_change => Proc.new { |bot, v| bot.plugins['figlet'].test_figlet })
Config.register Config::StringValue.new('toilet.path',
- :default => '/usr/bin/toilet',
+ :default => 'toilet',
:desc => _('Path to the toilet program'),
:on_change => Proc.new { |bot, v| bot.plugins['figlet'].test_toilet })
diff --git a/data/rbot/plugins/host.rb b/data/rbot/plugins/host.rb
index c5fbcdaa..e81386ce 100644
--- a/data/rbot/plugins/host.rb
+++ b/data/rbot/plugins/host.rb
@@ -1,6 +1,6 @@
class HostPlugin < Plugin
Config.register Config::StringValue.new('host.path',
- :default => '/usr/bin/host',
+ :default => 'host',
:desc => _('Path to the host program'))
def help(plugin, topic="")
diff --git a/data/rbot/plugins/spell.rb b/data/rbot/plugins/spell.rb
index 9298c286..5c98430b 100644
--- a/data/rbot/plugins/spell.rb
+++ b/data/rbot/plugins/spell.rb
@@ -5,7 +5,7 @@
class SpellPlugin < Plugin
Config.register Config::StringValue.new('spell.path',
- :default => '/usr/bin/ispell',
+ :default => 'ispell',
:desc => _('Path to the program to use to check spelling'))
Config.register Config::StringValue.new('spell.command_line',
:default => '%s -a -S',