diff options
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" |