Skip to content

Instantly share code, notes, and snippets.

@cwarden
Created February 22, 2012 01:04
Show Gist options
  • Save cwarden/1880332 to your computer and use it in GitHub Desktop.
Save cwarden/1880332 to your computer and use it in GitHub Desktop.
logitech media server fix for git annex
--- /usr/share/perl5/Slim/Utils/Misc.pm
+++ /usr/share/perl5/Slim/Utils/Misc.pm
@@ -857,7 +857,9 @@
$target = ($target =~ /^\// ? $target : catdir($dirname, $target));
if (-f $target) {
- return 0 if $target !~ $validRE;
+ # ignore the extension for symlinks. allows use of git annex repos
+ # [email protected] - 2012-02-06
+ # return 0 if $target !~ $validRE;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment