diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2016-03-17 09:49:38 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2016-03-17 09:49:38 -0300 |
commit | 07fc7078c1ff36e6becc0fce2338d70ae60d4881 (patch) | |
tree | 03f509d2cd447c2b957adb56ca39780f84230979 | |
parent | fd6e3c990484489eb620659f5371cd0e728807c1 (diff) | |
download | puppet-backup-07fc7078c1ff36e6becc0fce2338d70ae60d4881.tar.gz puppet-backup-07fc7078c1ff36e6becc0fce2338d70ae60d4881.tar.bz2 |
Folder fix at sync-media
-rwxr-xr-x[-rw-r--r--] | files/mount-media | 0 | ||||
-rwxr-xr-x[-rw-r--r--] | files/sync-backups | 0 | ||||
-rwxr-xr-x[-rw-r--r--] | files/sync-media | 2 | ||||
-rwxr-xr-x[-rw-r--r--] | files/sync-media-export | 0 | ||||
-rwxr-xr-x[-rw-r--r--] | files/sync-media-init | 0 |
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 |