--- a/uninstall.py Tue Nov 25 19:31:28 2014 +0100 +++ b/uninstall.py Thu Nov 27 19:48:04 2014 +0100 @@ -100,10 +100,6 @@ # Remove the menu entry for Linux systems if sys.platform.startswith("linux") and os.getuid() == 0: - for name in ["/usr/share/pixmaps/eric.png", - "/usr/share/pixmaps/ericWeb.png"]: - if os.path.exists(name): - os.remove(name) if includePythonVariant: marker = PythonMarkers[sys.version_info.major] else: @@ -111,7 +107,9 @@ for name in ["/usr/share/applications/eric5" + marker + ".desktop", "/usr/share/appdata/eric5" + marker + ".appdata.xml", "/usr/share/applications/eric5_webbrowser" + marker + - ".desktop"]: + ".desktop", + "/usr/share/pixmaps/eric" + marker + ".png", + "/usr/share/pixmaps/ericWeb" + marker + ".png"]: if os.path.exists(name): os.remove(name)