uninstall.py

changeset 3697
c947a7eaace4
parent 3678
2866383fd342
child 3714
4080395e3426
--- a/uninstall.py	Sun Jul 06 14:44:46 2014 +0200
+++ b/uninstall.py	Sun Jul 13 14:34:44 2014 +0200
@@ -163,7 +163,8 @@
                     os.remove(apiname)
             for apiname in glob.glob(
                     os.path.join(apidir, progLanguage.lower(), "*.bas")):
-                os.remove(apiname)
+                if os.path.basename(apiname) != "eric5.bas":
+                    os.remove(apiname)
         
         if sys.platform == "darwin":
             # delete the Mac app bundle

eric ide

mercurial