From 290adbdc35c7c6c0007a9b6267165054ed187497 Mon Sep 17 00:00:00 2001 From: Michael RICOIS Date: Thu, 30 Mar 2017 11:42:30 +0200 Subject: [PATCH] =?UTF-8?q?Controle=20d=C3=A9part=20indexation=20simplifi?= =?UTF-8?q?=C3=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- indexer/indexer-dir.sh | 4 ++-- indexer/indexer-ent.sh | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) 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