From 67d4fcee840ed4f7e2324bd5e8f318e961ebab6e Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sun, 26 Jul 2015 17:19:21 -0300 Subject: Commented: sync-media.ready --- files/sync-media | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'files') diff --git a/files/sync-media b/files/sync-media index a5465f1..6a7e280 100644 --- a/files/sync-media +++ b/files/sync-media @@ -89,6 +89,11 @@ if [ -d "$CACHE" ]; then continue fi + #if [ "`git -C $CACHE/$folder config sync-media.ready`" != "true" ]; then + # echo "Skipping $CACHE/$folder: not sync-media ready, please config your repo." + # continue + #fi + ( cd $CACHE/$folder echo "Syncing $CACHE/$folder..." @@ -133,6 +138,11 @@ if [ -d "$CACHE" ]; then continue fi + #if [ "`git -C $CACHE/$folder config sync-media.ready`" != "true" ]; then + # echo "Skipping $CACHE/$folder: not sync-media ready, please config your repo." + # continue + #fi + if [ ! -d "$VOLUME/$MEDIA/$folder" ]; then ( cd $VOLUME/$MEDIA -- cgit v1.2.3