Merge pull request #2634 from oslerw/develop

Add /usr/local/share to search path for data files
This commit is contained in:
Ted John 2016-01-16 14:49:34 +00:00
commit 391bea67bb
1 changed files with 2 additions and 0 deletions

View File

@ -119,6 +119,7 @@ void platform_posix_sub_user_data_path(char *buffer, const char *homedir, const
* Default directory fallback is:
* - (command line argument)
* - <exePath>/data
* - /usr/local/share/openrct2
* - /var/lib/openrct2
* - /usr/share/openrct2
*/
@ -129,6 +130,7 @@ void platform_posix_sub_resolve_openrct_data_path(utf8 *out) {
// defined in CMakeLists.txt
ORCT2_RESOURCE_DIR,
#endif // ORCT2_RESOURCE_DIR
"/usr/local/share/openrct2",
"/var/lib/openrct2",
"/usr/share/openrct2",
};