/usr/bin/ihelp_reindex is in libihelp-ruby1.8 0.4.5-2.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | #! /usr/bin/ruby1.8
require 'rubygems'
require 'ihelp'
begin
require 'ferret'
rescue Exception
STDERR.puts "Unable to load Ferret, can't update full text index."
STDERR.puts "Try `gem install ferret' if you don't have already."
exit 1
end
IHelp::IHelpIndex.reindex_when_needed = true
idx = IHelp::IHelpIndex.new
if idx.path == IHelp::IHelpIndex::GLOBAL_INDEX_PATH
begin
STDERR.puts
STDERR.puts 'Making global index at '+idx.path+' readable'
Dir[File.join(idx.path,"*")].each{|n| File.chmod 0644, n }
end
end
|