From 051d25e260f05b8f10276a4b8a1718c44924df5f Mon Sep 17 00:00:00 2001 From: Darafei Praliaskouski Date: Wed, 17 Jul 2013 06:52:56 +0300 Subject: [PATCH] [linux] be less specific about /usr prefix --- platform/platform_linux.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/platform/platform_linux.cpp b/platform/platform_linux.cpp index daeb3a024b..f99bdb027f 100644 --- a/platform/platform_linux.cpp +++ b/platform/platform_linux.cpp @@ -66,8 +66,8 @@ Platform::Platform() else if (IsFileExistsByFullPath(path + "../share/eula.html")) m_resourcesDir = path + "../share"; // installed version - else if (IsFileExistsByFullPath("/usr/share/MapsWithMe/eula.html")) - m_resourcesDir = "/usr/share/MapsWithMe"; + else if (IsFileExistsByFullPath(path + "../share/MapsWithMe/eula.html")) + m_resourcesDir = path + "../share/MapsWithMe"; // all-nearby installs else if (IsFileExistsByFullPath(path + "/eula.html")) m_resourcesDir = path;