summaryrefslogtreecommitdiff
blob: 49778f09872af4b5f316c6dda24574f9bc2c6349 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
--- src/RageFileManager.cpp	2004-09-06 03:36:12.000000000 -0600
+++ src/RageFileManager.cpp	2005-05-15 00:22:41.000000000 -0600
@@ -154,7 +154,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.
@@ -181,7 +181,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()) );