1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
--- StepMania-3.9-rc2a-src/src/RageFileManager.cpp 2004-05-23 16:33:12.000000000 -0600
+++ StepMania-3.9-rc2a-src/src/RageFileManager.cpp 2004-06-15 00:59:00.913075920 -0600
@@ -151,7 +151,7 @@
* scores. It would need to handle permissions properly. */
/* RageFileManager::Mount( "dir", "/var/lib/games/stepmania", "Data/Profiles" ); */
- // CString Home = getenv( "HOME" ) + "/" + PRODUCT_NAME;
+ CString Home = ssprintf( "%s/%s", getenv( "HOME" ), PACKAGE );
/*
* Next: path to write general mutable user data. If the above path fails (eg.
@@ -178,7 +178,8 @@
if( Root == "" )
RageException::Throw( "Couldn't find \"Songs\"" );
- RageFileManager::Mount( "dir", Root, "" );
+ RageFileManager::Mount( "dir", Home, "" );
+ RageFileManager::Mount( "dir", "/usr/share/games/stepmania", "" );
#elif defined(_WINDOWS)
/* All Windows data goes in the directory one level above the executable. */
CHECKPOINT_M( ssprintf( "DOE \"%s\"", DirOfExecutable.c_str()) );
|