diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2013-05-31 18:42:58 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2013-05-31 18:42:58 -0300 |
commit | 3acc0743e3bd61869aaeba861ad25efdaf19b6e9 (patch) | |
tree | 5f9ded6bb8ae02d0f945813d1586c791c06bc07d /files | |
parent | b5c9e75205baa975f54749d352ac42834bb6fb72 (diff) | |
download | puppet-backup-3acc0743e3bd61869aaeba861ad25efdaf19b6e9.tar.gz puppet-backup-3acc0743e3bd61869aaeba861ad25efdaf19b6e9.tar.bz2 |
Minor enhancement at sync-media-init
Diffstat (limited to 'files')
-rw-r--r-- | files/sync-media-init | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/files/sync-media-init b/files/sync-media-init index 5e99e1d..2a3f42a 100644 --- a/files/sync-media-init +++ b/files/sync-media-init @@ -20,7 +20,7 @@ if [ -z "$VOLUME" ]; then fi # Determine media folder -if [ "$VOLUME" == "$HOST" ]; then +if [ "$VOLUME" == "$HOST" ] || [ "$VOLUME" == "localhost" ]; then MEDIA="/var/cache/media" else MEDIA="/media/$VOLUME/media.$DOMAIN" |