nicer messages
authordpavlin <dpavlin@8392b6e1-25fa-0310-8288-cc32f8e212ea>
Sun, 28 Aug 2005 18:02:58 +0000 (18:02 +0000)
committerdpavlin <dpavlin@8392b6e1-25fa-0310-8288-cc32f8e212ea>
Sun, 28 Aug 2005 18:02:58 +0000 (18:02 +0000)
git-svn-id: svn+ssh://llin/home/dpavlin/private/svn/BackupPC/trunk@92 8392b6e1-25fa-0310-8288-cc32f8e212ea

bin/BackupPC_updatedb

index 8ab94a4..7c7c9f9 100755 (executable)
@@ -89,7 +89,7 @@ sub hest_update {
 
        my ($host_id, $share_id, $num) = @_;
 
-       print curr_time," updating HyperEstraier: files";
+       print curr_time," updating HyperEstraier: select files";
 
        my $t = time();
 
@@ -128,7 +128,7 @@ sub hest_update {
        my $results = $sth->rows;
 
        if ($results == 0) {
-               print " no files\n";
+               print " - no files, skipping\n";
                return;
        }
 
@@ -145,7 +145,7 @@ sub hest_update {
 
        my $max = int($results / $dot);
 
-       print " index $index_path...";
+       print ", opening index $index_path...";
        use HyperEstraier;
        my $db = HyperEstraier::Database->new();
 
@@ -201,7 +201,7 @@ sub hest_update {
 
        print "sync $added new files";
        $db->sync();
-       print " close";
+       print ", close";
        $db->close();
 
        my $dur = (time() - $t) || 1;