Index: Prefs.pm =================================================================== RCS file: /cvsroot/slim/server/Slim/Utils/Prefs.pm,v retrieving revision 1.76 diff -u -r1.76 Prefs.pm --- Prefs.pm 7 Jul 2004 03:38:18 -0000 1.76 +++ Prefs.pm 12 Jul 2004 19:45:58 -0000 @@ -68,8 +68,11 @@ sub defaultCacheDir { my $CacheDir = catdir($Bin,'Cache'); - if (Slim::Utils::OSDetect::OS() eq 'mac') { + my $os = Slim::Utils::OSDetect::OS(); + if ($os eq 'mac') { $CacheDir = catdir($ENV{'HOME'}, '/Library/Caches/SlimServer'); + } elsif ($os eq 'unix') { + $CacheDir = $ENV{'HOME'}; } my @CacheDirs = splitdir($CacheDir); pop @CacheDirs;