aboutsummaryrefslogtreecommitdiff
path: root/files
diff options
context:
space:
mode:
Diffstat (limited to 'files')
-rw-r--r--files/sync-media10
1 files changed, 10 insertions, 0 deletions
diff --git a/files/sync-media b/files/sync-media
index 3cffa5b..c14510d 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