Fine tuned the Mac OS X installation path.

Mon, 15 Oct 2012 19:59:19 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Mon, 15 Oct 2012 19:59:19 +0200
changeset 2145
4fec125cade5
parent 2144
28647dd918f3
child 2147
82034e3c157e

Fine tuned the Mac OS X installation path.

install.py file | annotate | diff | comparison | revisions
--- a/install.py	Mon Oct 15 19:30:41 2012 +0200
+++ b/install.py	Mon Oct 15 19:59:19 2012 +0200
@@ -378,8 +378,8 @@
             # delete the Mac app bundle
             if os.path.exists("/Developer/Applications/Eric5"):
                 shutil.rmtree("/Developer/Applications/Eric5")
-            if os.path.exists("/Applications/Eric5"):
-                shutil.rmtree("/Applications/Eric5")
+            if os.path.exists("/Applications/eric5.app"):
+                shutil.rmtree("/Applications/eric5.app")
         
     except IOError as msg:
         sys.stderr.write('IOError: {0}\nTry install with admin rights.\n'.format(msg))
@@ -571,9 +571,9 @@
     """
     global cfg, sourceDir
     
-    dirs = {"contents": "/Applications/Eric5/eric5.app/Contents/",
-            "exe": "/Applications/Eric5/eric5.app/Contents/MacOS",
-            "icns": "/Applications/Eric5/eric5.app/Contents/Resources"}
+    dirs = {"contents": "/Applications/eric5.app/Contents/",
+            "exe": "/Applications/eric5.app/Contents/MacOS",
+            "icns": "/Applications/eric5.app/Contents/Resources"}
     os.makedirs(dirs["contents"])
     os.mkdir(dirs["exe"])
     os.mkdir(dirs["icns"])

eric ide

mercurial