Bug 328505: --install-app fails on Linux for packages without a vendor, patch by Robert Marshall (tH) <rdmsoft@bugs.rdmsoft.com>, r=bsmedberg

This commit is contained in:
gavin%gavinsharp.com 2006-02-24 21:10:13 +00:00
parent e7d07d5d0e
commit e324ef55b5

View File

@ -247,7 +247,8 @@ const AppInstall = {
aDirectory = Components.classes["@mozilla.org/file/local;1"].
createInstance(nsILocalFile);
aDirectory.initWithPath("/usr/lib");
aDirectory.append(vendor.toLowerCase());
if (vendor)
aDirectory.append(vendor.toLowerCase());
#endif
#endif
}