Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 53958
Collapse All | Expand All

(-)StepMania-3.9-alpha22-src/src/RageFileManager.cpp.old (-2 / +3 lines)
Lines 151-157 Link Here
151
	 * scores.  It would need to handle permissions properly. */
151
	 * scores.  It would need to handle permissions properly. */
152
/*	RageFileManager::Mount( "dir", "/var/lib/games/stepmania", "Data/Profiles" ); */
152
/*	RageFileManager::Mount( "dir", "/var/lib/games/stepmania", "Data/Profiles" ); */
153
	
153
	
154
	// CString Home = getenv( "HOME" ) + "/" + PRODUCT_NAME;
154
	CString Home = ssprintf( "%s/%s", getenv( "HOME" ), PACKAGE );
155
155
156
	/*
156
	/*
157
	 * Next: path to write general mutable user data.  If the above path fails (eg.
157
	 * Next: path to write general mutable user data.  If the above path fails (eg.
Lines 178-184 Link Here
178
	if( Root == "" )
178
	if( Root == "" )
179
		RageException::Throw( "Couldn't find \"Songs\"" );
179
		RageException::Throw( "Couldn't find \"Songs\"" );
180
			
180
			
181
	RageFileManager::Mount( "dir", Root, "" );
181
	RageFileManager::Mount( "dir", Home, "" );
182
	RageFileManager::Mount( "dir", "/opt/stepmania", "" );
182
#elif defined(_WINDOWS)
183
#elif defined(_WINDOWS)
183
	/* All Windows data goes in the directory one level above the executable. */
184
	/* All Windows data goes in the directory one level above the executable. */
184
	CHECKPOINT_M( ssprintf( "DOE \"%s\"", DirOfExecutable.c_str()) );
185
	CHECKPOINT_M( ssprintf( "DOE \"%s\"", DirOfExecutable.c_str()) );

Return to bug 53958