aboutsummaryrefslogtreecommitdiff
path: root/files
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2015-07-26 17:19:21 -0300
committerSilvio Rhatto <rhatto@riseup.net>2015-07-26 17:19:21 -0300
commit67d4fcee840ed4f7e2324bd5e8f318e961ebab6e (patch)
tree9e5ae05eb958e3c5fbcae3e0def9916325edb2bf /files
parent6b321eaa1b6a43d3f7b5c1e2345fdaded07e1af5 (diff)
downloadpuppet-backup-67d4fcee840ed4f7e2324bd5e8f318e961ebab6e.tar.gz
puppet-backup-67d4fcee840ed4f7e2324bd5e8f318e961ebab6e.tar.bz2
Commented: sync-media.ready
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 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