aboutsummaryrefslogtreecommitdiff
path: root/files/sync-media
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 /files/sync-media
parentfd6e3c990484489eb620659f5371cd0e728807c1 (diff)
downloadpuppet-backup-07fc7078c1ff36e6becc0fce2338d70ae60d4881.tar.gz
puppet-backup-07fc7078c1ff36e6becc0fce2338d70ae60d4881.tar.bz2
Folder fix at sync-media
Diffstat (limited to 'files/sync-media')
-rwxr-xr-x[-rw-r--r--]files/sync-media2
1 files changed, 1 insertions, 1 deletions
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