490 marker = PythonMarkers[sys.version_info.major] |
490 marker = PythonMarkers[sys.version_info.major] |
491 else: |
491 else: |
492 marker = "" |
492 marker = "" |
493 for name in ["/usr/share/applications/eric6" + marker + ".desktop", |
493 for name in ["/usr/share/applications/eric6" + marker + ".desktop", |
494 "/usr/share/appdata/eric6" + marker + ".appdata.xml", |
494 "/usr/share/appdata/eric6" + marker + ".appdata.xml", |
495 "/usr/share/applications/eric6_webbrowser" + marker + |
495 "/usr/share/applications/eric6_webbrowser" + marker + |
496 ".desktop"]: |
496 ".desktop"]: |
497 if os.path.exists(name): |
497 if os.path.exists(name): |
498 os.remove(name) |
498 os.remove(name) |
499 |
499 |
500 # Remove the wrapper scripts |
500 # Remove the wrapper scripts |