[Slim-Checkins] r10762 - /branches/6.5/server/Slim/Utils/OSDetect.pm
fred at svn.slimdevices.com
fred at svn.slimdevices.com
Mon Nov 27 01:18:53 PST 2006
Author: fred
Date: Mon Nov 27 01:18:52 2006
New Revision: 10762
URL: http://svn.slimdevices.com?rev=10762&view=rev
Log:
HTML directory is spelled HTML (upper case) on OS X. If user is
using case sensitive file system on OS X, this breaks slimserver.
Not sure which case this is supposed to cover: installation DMG for
6.5 uses uppercase HTML directory.
Modified:
branches/6.5/server/Slim/Utils/OSDetect.pm
Modified: branches/6.5/server/Slim/Utils/OSDetect.pm
URL: http://svn.slimdevices.com/branches/6.5/server/Slim/Utils/OSDetect.pm?rev=10762&r1=10761&r2=10762&view=diff
==============================================================================
--- branches/6.5/server/Slim/Utils/OSDetect.pm (original)
+++ branches/6.5/server/Slim/Utils/OSDetect.pm Mon Nov 27 01:18:52 2006
@@ -132,9 +132,12 @@
} elsif ($dir =~ /^(?:Graphics|HTML|IR|Plugins|MySQL)$/) {
# For some reason the dir is lowercase on OS X.
- if ($dir eq 'HTML') {
- $dir = lc($dir);
- }
+ # FRED: it may have been eons ago but today it is HTML; most of
+ # the time anyway OS X is not case sensitive so it does not really
+ # matter...
+ #if ($dir eq 'HTML') {
+ # $dir = lc($dir);
+ #}
push @dirs, $ENV{'HOME'} . "/Library/SlimDevices/$dir";
push @dirs, "/Library/SlimDevices/$dir";
More information about the checkins
mailing list