blob: c7e5178a5b5b236a432ba671572a817503427600 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
$FreeBSD$
--- Slim/Utils/Prefs.pm.orig
+++ Slim/Utils/Prefs.pm
@@ -392,6 +392,10 @@
$path = $Bin . '/Playlists';
+ } elsif (Slim::Utils::OSDetect::OS() eq 'unix') {
+
+ $path = "%%SLIMDBDIR%%/playlists";
+
} else {
$path = '';
@@ -424,7 +428,7 @@
} elsif ($os eq 'unix') {
- $CacheDir = catdir($ENV{'HOME'},'Cache');
+ $CacheDir = "%%SLIMDBDIR%%/cache";
} elsif ($os eq 'win' && Slim::Utils::OSDetect::details->{'osName'} =~ /Vista/) {
@@ -1022,7 +1026,7 @@
$prefsPath = $Bin;
}
} else {
- $prefsPath = $ENV{'HOME'};
+ $prefsPath = "%%SLIMDBDIR%%";
}
$::d_prefs && msg("The default prefs directory is $prefsPath\n");
|