install.py

changeset 382
29f660c4ad3e
parent 363
8bda0881a970
child 386
58c14f563abc
--- a/install.py	Sun Jul 04 17:52:29 2010 +0200
+++ b/install.py	Sun Jul 04 19:31:00 2010 +0200
@@ -149,7 +149,7 @@
         wrapper = \
 '''#!/bin/sh
 
-exec "%s/bin/pythonw" "%s/%s.py" "$@"
+exec "%s/bin/pythonw3" "%s/%s.py" "$@"
 ''' % (sys.exec_prefix, pydir, wfile)
 
     # *nix systems
@@ -367,10 +367,10 @@
     except IOError as msg:
         sys.stderr.write('IOError: %s\nTry install as root.\n' % msg)
         sys.exit(7)
-        
-    except OSError as msg:
-        sys.stderr.write('OSError: %s\nTry install with admin rights.\n' % msg)
-        sys.exit(7)
+        
+    except OSError as msg:
+        sys.stderr.write('OSError: %s\nTry install with admin rights.\n' % msg)
+        sys.exit(7)
     
     # copy some text files to the doc area
     for name in ["LICENSE.GPL3", "THANKS", "changelog"]:

eric ide

mercurial