diff --git a/cron_MINUTE.sh b/cron_MINUTE.sh index 1411c1b..dee9289 100755 --- a/cron_MINUTE.sh +++ b/cron_MINUTE.sh @@ -94,7 +94,7 @@ fi # OPTION 2: DELETING SOURCE # NB: INDEX published in ~/.zen/ipfs/xbian IS ONLY GROWING... # Must manualy run "ipfs unpin" + "ipfs rm" to clean bad files from ~/.zen/ipfs/xbian/INDEXFILES !!! -if [[ $isinotifywaitRunning == "" ]]; then +if [[ ! $isinotifywaitRunning ]]; then inotifywait -e close_write -m ~/astroport/films | while read dir flags file; do $MY_PATH/zen/xbian_FASTRXBIAN.sh "$file"; done & inotifywait -e close_write -m ~/astroport/animes | while read dir flags file; do $MY_PATH/zen/xbian_AASTRXBIAN.sh "$file"; done & fi