summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xshare/hydractl/sync-media5
1 files changed, 5 insertions, 0 deletions
diff --git a/share/hydractl/sync-media b/share/hydractl/sync-media
index a63f782..b34df6a 100755
--- a/share/hydractl/sync-media
+++ b/share/hydractl/sync-media
@@ -261,6 +261,11 @@ if [ ! -z "$DRIVE" ] && [ -d "$VOLUME/$MEDIA" ]; then
fi
fi
+ # Run a custom synchronizer
+ if [ ! -x "$CACHE/$folder/.sync-media/custom" ]; then
+ $CACHE/$folder/.sync-media/custom $VOLUME/$MEDIA/$folder
+ fi
+
# Ensure the local cache has each repository listed in the removable media
if [ ! -d "$CACHE/$folder" ]; then
if [ -d "$VOLUME/$MEDIA/$folder/.git" ]; then