Bug 555916 - Installing an application should install in /usr/local instead of /usr. r=bsmedberg
authorMike Hommey <mh+mozilla@glandium.org>
Tue, 06 Apr 2010 09:06:46 +0200
changeset 40480 43e15e2770f3ba11058c676dd04bb86e700b6738
parent 40479 4918e122e6eb1aa53eba7b5b75013db397008b7b
child 40481 bb573cd864b1b9db9ad593e528d2cbbcf7c4a597
push id12624
push userwr@rosenauer.org
push dateTue, 06 Apr 2010 07:08:27 +0000
treeherdermozilla-central@43e15e2770f3 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbsmedberg
bugs555916
milestone1.9.3a4pre
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
Bug 555916 - Installing an application should install in /usr/local instead of /usr. r=bsmedberg
xulrunner/setup/nsXULAppInstall.js
--- a/xulrunner/setup/nsXULAppInstall.js
+++ b/xulrunner/setup/nsXULAppInstall.js
@@ -238,17 +238,17 @@ const AppInstall = {
 #else
 #ifdef XP_MACOSX
       aDirectory = getDirectoryKey("LocApp");
       if (vendor)
         aDirectory.append(vendor);
 #else
       aDirectory = Components.classes["@mozilla.org/file/local;1"].
         createInstance(nsILocalFile);
-      aDirectory.initWithPath("/usr/lib");
+      aDirectory.initWithPath("/usr/local/lib");
       if (vendor)
         aDirectory.append(vendor.toLowerCase());
 #endif
 #endif
     }
     else {
       aDirectory = aDirectory.clone();
     }