Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS1
-rwxr-xr-xexe/webui/browser.py8
2 files changed, 9 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 0ca0598..9bb076c 100644
--- a/NEWS
+++ b/NEWS
@@ -2,6 +2,7 @@
* Fix image gallery to allow captions containing apostrophes
* Fix field IDs so that adding to a previously saved elp is consistent
* Fix Common Cartridge manifest when a header image is used
+* Fix OS X and Linux configDir Firefox profile on filesystem without colon
* Only include a copy of GNU FDL if that is the license selected
* Re-enable loading of user extended iDevices from config directory
* Translation updates
diff --git a/exe/webui/browser.py b/exe/webui/browser.py
index 179c3a3..7465bc0 100755
--- a/exe/webui/browser.py
+++ b/exe/webui/browser.py
@@ -77,6 +77,14 @@ def launchBrowser(config, packageName, openMode):
# workaround Debian/Ubuntu firefox launching script that requires
# ':/' in the pathname
profile = "linux-profile:"
+ # attempt to detect filesystems that won't allow a colon
+ try:
+ if (config.configDir/profile).exists():
+ (config.configDir/profile).rmtree()
+ config.configDir/profile).mkdir()
+ except (OSError, IOError):
+ log.info("Unable to use linux-profile:")
+ profile = "linux-profile"
if (config.configDir/profile).exists():
(config.configDir/profile).rmtree()