Support NetBSD
authorNeil Booth <neil@daikokuya.co.uk>
Sun, 20 Jan 2013 07:18:25 +0000 (16:18 +0900)
committerNeil Booth <neil@daikokuya.co.uk>
Sun, 20 Jan 2013 07:18:25 +0000 (16:18 +0900)
lib/util.py

index 47955f0..690e030 100644 (file)
@@ -87,7 +87,8 @@ def appdata_dir():
     elif platform.system() == "Linux":
         return os.path.join(sys.prefix, "share", "electrum")
     elif (platform.system() == "Darwin" or
-          platform.system() == "DragonFly"):
+          platform.system() == "DragonFly" or
+         platform.system() == "NetBSD"):
         return "/Library/Application Support/Electrum"
     else:
         raise Exception("Unknown system")