From 88e3a4131b2f8ead94ce8a808427d080cc411629 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Tue, 8 Nov 2016 18:13:50 -0200 Subject: Run a custom synchronizer at sync-media --- share/hydractl/sync-media | 5 +++++ 1 file changed, 5 insertions(+) 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 -- cgit v1.2.3