uninstall.py

branch
5_5_x
changeset 3695
8b52ec5f40e4
parent 3621
15f23ed3f216
child 3712
09b6f92a82ca
--- a/uninstall.py	Sat Jul 12 13:18:13 2014 +0200
+++ b/uninstall.py	Sun Jul 13 13:02:38 2014 +0200
@@ -177,7 +177,8 @@
                     os.remove(apiname)
             for apiname in glob.glob(
                     os.path.join(apidir, progLanguage.lower(), "*.bas")):
-                os.remove(apiname)
+                if os.path.basename(apiname) != "eric6.bas":
+                    os.remove(apiname)
         
         if sys.platform == "darwin":
             # delete the Mac app bundle

eric ide

mercurial