aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/sisu/v2/cgi.rb2
-rw-r--r--lib/sisu/v2/cgi_pgsql.rb2
-rw-r--r--lib/sisu/v2/cgi_sqlite.rb2
-rw-r--r--lib/sisu/v3/cgi.rb2
-rw-r--r--lib/sisu/v3/cgi_pgsql.rb2
-rw-r--r--lib/sisu/v3/cgi_sqlite.rb2
6 files changed, 4 insertions, 8 deletions
diff --git a/lib/sisu/v2/cgi.rb b/lib/sisu/v2/cgi.rb
index a375282f..d9bbc9ed 100644
--- a/lib/sisu/v2/cgi.rb
+++ b/lib/sisu/v2/cgi.rb
@@ -71,8 +71,6 @@ module SiSU_CGI
a=%{
For help on sisu search, type:
sisu --help search
- For help on setting up hyperestraier for sisu, type:
- sisu --help hyperestraier
}
SiSU_Screen::Ansi.new(@opt.cmd,a).print_grey
end
diff --git a/lib/sisu/v2/cgi_pgsql.rb b/lib/sisu/v2/cgi_pgsql.rb
index 7a948366..416a7d88 100644
--- a/lib/sisu/v2/cgi_pgsql.rb
+++ b/lib/sisu/v2/cgi_pgsql.rb
@@ -83,7 +83,7 @@ module SiSU_CGI_pgsql
else put "WARNING: no postgresql database available, (have you created one?)"
end
serve.sort!
- f1,f2,f3=[],[],[]
+ f1,f2,f3='','',''
serve.each do |x|
f1 << %{ <option value="#{Db[:name_prefix]}#{x}">#{x}</option>\n} unless x =~/apache|sisu\/image/ #check
end
diff --git a/lib/sisu/v2/cgi_sqlite.rb b/lib/sisu/v2/cgi_sqlite.rb
index 5c20b072..d7e131d3 100644
--- a/lib/sisu/v2/cgi_sqlite.rb
+++ b/lib/sisu/v2/cgi_sqlite.rb
@@ -78,7 +78,7 @@ module SiSU_CGI_sqlite
end
end
serve.sort!
- f1,f2,f3=[],[],[]
+ f1,f2,f3='','',''
serve.each do |x|
f1 << %{ <option value="#{Db[:name_prefix]}#{x}">#{x}</option>\n}
end
diff --git a/lib/sisu/v3/cgi.rb b/lib/sisu/v3/cgi.rb
index 7b01ae98..357a4332 100644
--- a/lib/sisu/v3/cgi.rb
+++ b/lib/sisu/v3/cgi.rb
@@ -71,8 +71,6 @@ module SiSU_CGI
a=%{
For help on sisu search, type:
sisu --help search
- For help on setting up hyperestraier for sisu, type:
- sisu --help hyperestraier
}
SiSU_Screen::Ansi.new(@opt.cmd,a).print_grey
end
diff --git a/lib/sisu/v3/cgi_pgsql.rb b/lib/sisu/v3/cgi_pgsql.rb
index 5f23f22d..3821f402 100644
--- a/lib/sisu/v3/cgi_pgsql.rb
+++ b/lib/sisu/v3/cgi_pgsql.rb
@@ -83,7 +83,7 @@ module SiSU_CGI_pgsql
else put "WARNING: no postgresql database available, (have you created one?)"
end
serve.sort!
- f1,f2,f3=[],[],[]
+ f1,f2,f3='','',''
serve.each do |x|
f1 << %{ <option value="#{Db[:name_prefix]}#{x}">#{x}</option>\n} unless x =~/apache|sisu\/image/ #check
end
diff --git a/lib/sisu/v3/cgi_sqlite.rb b/lib/sisu/v3/cgi_sqlite.rb
index 8d2ff53d..7251c81a 100644
--- a/lib/sisu/v3/cgi_sqlite.rb
+++ b/lib/sisu/v3/cgi_sqlite.rb
@@ -78,7 +78,7 @@ module SiSU_CGI_sqlite
end
end
serve.sort!
- f1,f2,f3=[],[],[]
+ f1,f2,f3='','',''
serve.each do |x|
f1 << %{ <option value="#{Db[:name_prefix]}#{x}">#{x}</option>\n}
end