summaryrefslogtreecommitdiff
path: root/audio/squeezeboxserver/files/patch-Slim_Utils_Prefs.pm
diff options
context:
space:
mode:
authorcvs2svn <cvs2svn@FreeBSD.org>2005-01-21 15:36:45 +0000
committercvs2svn <cvs2svn@FreeBSD.org>2005-01-21 15:36:45 +0000
commit7011c19a8c96a2f8fb7c04d61cb28cdc507584a6 (patch)
tree22c0efaf2b6bb5b461389f9bac9542c7e3a5909a /audio/squeezeboxserver/files/patch-Slim_Utils_Prefs.pm
parentNow buildable on 4.x, still broken on >= 5.x. (diff)
This commit was manufactured by cvs2svn to create tag 'RELEASE_4_11_0'.release/4.11.0
Diffstat (limited to 'audio/squeezeboxserver/files/patch-Slim_Utils_Prefs.pm')
-rw-r--r--audio/squeezeboxserver/files/patch-Slim_Utils_Prefs.pm32
1 files changed, 0 insertions, 32 deletions
diff --git a/audio/squeezeboxserver/files/patch-Slim_Utils_Prefs.pm b/audio/squeezeboxserver/files/patch-Slim_Utils_Prefs.pm
deleted file mode 100644
index 866f1c52387a..000000000000
--- a/audio/squeezeboxserver/files/patch-Slim_Utils_Prefs.pm
+++ /dev/null
@@ -1,32 +0,0 @@
-
-$FreeBSD$
-
---- Slim/Utils/Prefs.pm.orig
-+++ Slim/Utils/Prefs.pm
-@@ -59,6 +59,8 @@
- $path = $ENV{'HOME'} . '/Music/Playlists';
- } elsif (Slim::Utils::OSDetect::OS() eq 'win') {
- $path = $Bin . '/Playlists';
-+ } elsif (Slim::Utils::OSDetect::OS() eq 'unix') {
-+ $path = "/var/db/slimserver/playlists";
- } else {
- $path = '';
- }
-@@ -72,7 +74,7 @@
- if ($os eq 'mac') {
- $CacheDir = catdir($ENV{'HOME'}, '/Library/Caches/SlimServer');
- } elsif ($os eq 'unix') {
-- $CacheDir = $ENV{'HOME'};
-+ $CacheDir = "/var/db/slimserver/cache";
- }
- my @CacheDirs = splitdir($CacheDir);
- pop @CacheDirs;
-@@ -605,7 +607,7 @@
- } elsif (Slim::Utils::OSDetect::OS() eq 'win') {
- $prefsPath = $Bin;
- } else {
-- $prefsPath = $ENV{'HOME'};
-+ $prefsPath = "/var/db/slimserver";
- }
-
- $::d_prefs && msg("The default prefs directory is $prefsPath\n");