aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2016-03-17 09:49:38 -0300
committerSilvio Rhatto <rhatto@riseup.net>2016-03-17 09:49:38 -0300
commit07fc7078c1ff36e6becc0fce2338d70ae60d4881 (patch)
tree03f509d2cd447c2b957adb56ca39780f84230979
parentfd6e3c990484489eb620659f5371cd0e728807c1 (diff)
downloadpuppet-backup-07fc7078c1ff36e6becc0fce2338d70ae60d4881.tar.gz
puppet-backup-07fc7078c1ff36e6becc0fce2338d70ae60d4881.tar.bz2
Folder fix at sync-media
-rwxr-xr-x[-rw-r--r--]files/mount-media0
-rwxr-xr-x[-rw-r--r--]files/sync-backups0
-rwxr-xr-x[-rw-r--r--]files/sync-media2
-rwxr-xr-x[-rw-r--r--]files/sync-media-export0
-rwxr-xr-x[-rw-r--r--]files/sync-media-init0
5 files changed, 1 insertions, 1 deletions
diff --git a/files/mount-media b/files/mount-media
index 0073292..0073292 100644..100755
--- a/files/mount-media
+++ b/files/mount-media
diff --git a/files/sync-backups b/files/sync-backups
index aa92754..aa92754 100644..100755
--- a/files/sync-backups
+++ b/files/sync-backups
diff --git a/files/sync-media b/files/sync-media
index 5ff3c0f..d2155fe 100644..100755
--- a/files/sync-media
+++ b/files/sync-media
@@ -116,7 +116,7 @@ if [ -d "$CACHE" ]; then
fi
# Ensure we have a reference to the remote repository
- if [ ! -z "$DRIVE" ] && [ -d "$VOLUME/$MEDIA/$folder/git/.annex" ]; then
+ if [ ! -z "$DRIVE" ] && [ -d "$VOLUME/$MEDIA/$folder/.git/annex" ]; then
# Check remote
if ! git remote | grep -q "^$REMOTE$"; then
git remote add $REMOTE $VOLUME/$MEDIA/$folder
diff --git a/files/sync-media-export b/files/sync-media-export
index 7b47639..7b47639 100644..100755
--- a/files/sync-media-export
+++ b/files/sync-media-export
diff --git a/files/sync-media-init b/files/sync-media-init
index 839deea..839deea 100644..100755
--- a/files/sync-media-init
+++ b/files/sync-media-init