diff --git a/indexer/indexer-dir.sh b/indexer/indexer-dir.sh index fb1169b..5c814f9 100755 --- a/indexer/indexer-dir.sh +++ b/indexer/indexer-dir.sh @@ -50,8 +50,8 @@ if [ -n "$idx" ]; then echo $nbC elif [ -z "$nbT" ]; then echo $nbT - elif [ "$nbT" -gt "$nbC" ]; then - + #elif [ "$nbT" -gt "$nbC" ]; then + else # Create file to indicate indexing rm -f $PATH_LOG/dir-*.idx echo "START $(date '+%Y-%m-%d %H:%M:%S')" >> $FILEINDEX diff --git a/indexer/indexer-ent.sh b/indexer/indexer-ent.sh index f992997..29482d5 100755 --- a/indexer/indexer-ent.sh +++ b/indexer/indexer-ent.sh @@ -50,7 +50,8 @@ if [ -n "$idx" ]; then echo $nbC elif [ -z "$nbT" ]; then echo $nbT - elif [ "$nbT" -gt "$nbC" ]; then + #elif [ "$nbT" -gt "$nbC" ]; then + else # Create file to indicate indexing rm -f $PATH_LOG/ent-*.idx echo "START $(date '+%Y-%m-%d %H:%M:%S')" >> $FILEINDEX