From fdc2ed89ec245205da28e4538349c93ddda8ea53 Mon Sep 17 00:00:00 2001 From: Cache do Fluxo Date: Tue, 15 Nov 2016 10:02:49 -0200 Subject: Fix custom syncer --- .sync-media/custom | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.sync-media/custom b/.sync-media/custom index 2ef4b58..325ab69 100755 --- a/.sync-media/custom +++ b/.sync-media/custom @@ -20,7 +20,7 @@ elif [ ! -d "$DEST" ]; then fi # Check if there are assets -if [ ! -z "$(ls -A $ASSETS)" ] || [ "$(ls -A $ASSETS)" != ".empty" ]; then +if [ ! -z "$(ls -A $ASSETS)" ] && [ "$(ls -A $ASSETS)" != ".empty" ]; then # Then sync unison $ASSETS $DEST -auto -logfile /dev/null fi -- cgit v1.2.3