-
Notifications
You must be signed in to change notification settings - Fork 1
/
esgf_uninstaller.py
52 lines (51 loc) · 2.77 KB
/
esgf_uninstaller.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
#!/usr/local/python
import os
import subprocess
subprocess.call(["rm", "-rf", "/esg"])
subprocess.call(["rm", "-rf", "/etc/bash_completion.d/esg-node"])
subprocess.call(["rm", "-rf", "/etc/esg.env"])
subprocess.call(["rm", "-rf", "/etc/grid-security"])
subprocess.call(["rm", "-rf", "/etc/logrotate.d/esgf_tomcat"])
subprocess.call(["rm", "-rf", "/root/.esgcet"])
subprocess.call(["rm", "-rf", "/root/.globus"])
subprocess.call(["rm", "-rf", "/usr/local/ant"])
subprocess.call(["rm", "-rf", "/usr/local/apache-ant-*"])
subprocess.call(["rm", "-rf", "/usr/local/apache-tomcat*"])
subprocess.call(["rm", "-rf", "/usr/local/bin/esg-access-logging-filter"])
subprocess.call(["rm", "-rf", "/usr/local/bin/esg-dashboard"])
subprocess.call(["rm", "-rf", "/usr/local/bin/esg-desktop"])
subprocess.call(["rm", "-rf", "/usr/local/bin/esgf-crawl"])
subprocess.call(["rm", "-rf", "/usr/local/bin/esgf-optimize-index"])
subprocess.call(["rm", "-rf", "/usr/local/bin/esgf-policy-check"])
subprocess.call(["rm", "-rf", "/usr/local/bin/esgf-sh"])
subprocess.call(["rm", "-rf", "/usr/local/bin/esgf-spotcheck"])
subprocess.call(["rm", "-rf", "/usr/local/bin/esg-functions"])
subprocess.call(["rm", "-rf", "/usr/local/bin/esgf-user-migrate"])
subprocess.call(["rm", "-rf", "/usr/local/bin/esg-globus"])
subprocess.call(["rm", "-rf", "/usr/local/bin/esg-idp"])
subprocess.call(["rm", "-rf", "/usr/local/bin/esg-node"])
subprocess.call(["rm", "-rf", "/usr/local/bin/esg-node-manager"])
subprocess.call(["rm", "-rf", "/usr/local/bin/esg-orp"])
subprocess.call(["rm", "-rf", "/usr/local/bin/esg-search"])
subprocess.call(["rm", "-rf", "/usr/local/bin/esg-security"])
subprocess.call(["rm", "-rf", "/usr/local/bin/esg-security-las-ip-filter"])
subprocess.call(["rm", "-rf", "/usr/local/bin/esg-security-token-filters"])
subprocess.call(["rm", "-rf", "/usr/local/bin/esg-security-tokenless-filters"])
subprocess.call(["rm", "-rf", "/usr/local/bin/esg-web-fe"])
subprocess.call(["rm", "-rf", "/usr/local/cdat"])
subprocess.call(["rm", "-rf", "/usr/local/uvcdat"])
subprocess.call(["rm", "-rf", "/usr/local/curl"])
subprocess.call(["rm", "-rf", "/usr/local/esgf-dashboard-ip"])
subprocess.call(["rm", "-rf", "/usr/local/esgf-solr-*"])
subprocess.call(["rm", "-rf", "/usr/local/ferret"])
subprocess.call(["rm", "-rf", "/usr/local/ferret_data"])
subprocess.call(["rm", "-rf", "/usr/local/geoip"])
subprocess.call(["rm", "-rf", "/usr/local/git"])
subprocess.call(["rm", "-rf", "/usr/local/globus"])
subprocess.call(["rm", "-rf", "/usr/local/gsoap"])
subprocess.call(["rm", "-rf", "/usr/local/jdk*"])
subprocess.call(["rm", "-rf", "/usr/local/las-esg*"])
subprocess.call(["rm", "-rf", "/usr/local/openssl"])
subprocess.call(["rm", "-rf", "/usr/local/pgsql"])
subprocess.call(["rm", "-rf", "/usr/local/src/esgf"])
subprocess.call(["rm", "-rf", "/usr/local/tomcat"])