diff options
author | Cache do Fluxo <cache@fluxo.info> | 2016-11-15 10:02:49 -0200 |
---|---|---|
committer | Cache do Fluxo <cache@fluxo.info> | 2016-11-15 10:02:49 -0200 |
commit | fdc2ed89ec245205da28e4538349c93ddda8ea53 (patch) | |
tree | 6c7f62bdf55a103ffaabb6af1a48db0ea40697a4 /.sync-media | |
parent | 0e9bcce75c6f2d60c2881e7987954fa177d2bfb3 (diff) | |
download | cache-fdc2ed89ec245205da28e4538349c93ddda8ea53.tar.gz cache-fdc2ed89ec245205da28e4538349c93ddda8ea53.tar.bz2 |
Fix custom syncer
Diffstat (limited to '.sync-media')
-rwxr-xr-x | .sync-media/custom | 2 |
1 files changed, 1 insertions, 1 deletions
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 |