uninstall.py

branch
5_5_x
changeset 3753
81c2cbbfce85
parent 3752
b269d3e5f310
child 3932
a909b9212f59
equal deleted inserted replaced
3752:b269d3e5f310 3753:81c2cbbfce85
100 100
101 # Remove the menu entry for Linux systems 101 # Remove the menu entry for Linux systems
102 if sys.platform.startswith("linux") and os.getuid() == 0: 102 if sys.platform.startswith("linux") and os.getuid() == 0:
103 for name in ["/usr/share/pixmaps/eric.png", 103 for name in ["/usr/share/pixmaps/eric.png",
104 "/usr/share/applications/eric5.desktop", 104 "/usr/share/applications/eric5.desktop",
105 "/usr/share/appdata/eric6.appdata.xml", 105 "/usr/share/appdata/eric5.appdata.xml",
106 "/usr/share/pixmaps/ericWeb.png", 106 "/usr/share/pixmaps/ericWeb.png",
107 "/usr/share/applications/eric5_webbrowser.desktop"]: 107 "/usr/share/applications/eric5_webbrowser.desktop"]:
108 if os.path.exists(name): 108 if os.path.exists(name):
109 os.remove(name) 109 os.remove(name)
110 110

eric ide

mercurial