diff options
-rw-r--r-- | files/sync-media | 10 |
1 files changed, 10 insertions, 0 deletions
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 |