projects
/
BackupPC.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
move loading of search module into BackupPC::Search
[BackupPC.git]
/
bin
/
BackupPC_updatedb
diff --git
a/bin/BackupPC_updatedb
b/bin/BackupPC_updatedb
index
69725af
..
9627a2b
100755
(executable)
--- a/
bin/BackupPC_updatedb
+++ b/
bin/BackupPC_updatedb
@@
-11,12
+11,10
@@
use Getopt::Std;
use Time::HiRes qw/time/;
use File::Pid;
use POSIX qw/strftime/;
use Time::HiRes qw/time/;
use File::Pid;
use POSIX qw/strftime/;
-use BackupPC::Search
Lib
;
+use BackupPC::Search;
use Cwd qw/abs_path/;
use Data::Dump qw(dump);
use Cwd qw/abs_path/;
use Data::Dump qw(dump);
-use BackupPC::Search::Estraier;
-
use constant BPC_FTYPE_DIR => 5;
use constant EST_CHUNK => 4096;
use constant BPC_FTYPE_DIR => 5;
use constant EST_CHUNK => 4096;
@@
-121,7
+119,7
@@
sub hest_update {
my $offset = 0;
my $added = 0;
my $offset = 0;
my $added = 0;
- my $search = BackupPC::Search
::Estraier->new( $index_node_url )
;
+ my $search = BackupPC::Search
->search_module
;
my $results = 0;
my $results = 0;