diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2016-11-08 18:13:50 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2016-11-08 18:13:50 -0200 |
commit | 88e3a4131b2f8ead94ce8a808427d080cc411629 (patch) | |
tree | 8c7030d172905926514c5f5576c891d43b2a6eaa /share/hydractl/sync-media | |
parent | fa29e7a54b861e79ea1e91d7d1b62a62bc36e0bf (diff) | |
download | hydra-88e3a4131b2f8ead94ce8a808427d080cc411629.tar.gz hydra-88e3a4131b2f8ead94ce8a808427d080cc411629.tar.bz2 |
Run a custom synchronizer at sync-media
Diffstat (limited to 'share/hydractl/sync-media')
-rwxr-xr-x | share/hydractl/sync-media | 5 |
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 |