CLIMATE-457 - Cleanup after Easy-OCW install on Ubuntu - Cleanup Basemap and Anaconda files after installation is complete.
Project: http://git-wip-us.apache.org/repos/asf/climate/repo Commit: http://git-wip-us.apache.org/repos/asf/climate/commit/87045672 Tree: http://git-wip-us.apache.org/repos/asf/climate/tree/87045672 Diff: http://git-wip-us.apache.org/repos/asf/climate/diff/87045672 Branch: refs/heads/master Commit: 87045672cfd4dd26c77fba788ddbe18a8db6c57b Parents: e9437d0 Author: Michael Joyce <[email protected]> Authored: Wed Jun 4 12:34:50 2014 -0700 Committer: Michael Joyce <[email protected]> Committed: Wed Jun 4 12:34:50 2014 -0700 ---------------------------------------------------------------------- easy-ocw/install-ubuntu-12_04.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/climate/blob/87045672/easy-ocw/install-ubuntu-12_04.sh ---------------------------------------------------------------------- diff --git a/easy-ocw/install-ubuntu-12_04.sh b/easy-ocw/install-ubuntu-12_04.sh index 494cdb3..adb3fbb 100755 --- a/easy-ocw/install-ubuntu-12_04.sh +++ b/easy-ocw/install-ubuntu-12_04.sh @@ -148,6 +148,10 @@ bash Anaconda-1.9.2-Linux-x86_64.sh export PATH="/home/vagrant/anaconda/bin:$PATH" subtask "done" +task "Cleaning up Anaconda download ..." +rm -f Anaconda-1.9.2-Linux-x86_64.sh +subtask "done" + # Install Basemap. Conda cannot be used for this install since # it fails to analyse the dependencies (at the time of writing). This # will install it manually. At some point, this should be replaced with @@ -175,6 +179,12 @@ cd .. python setup.py install >> install_log subtask "done" +task "Cleaning up Basemap install ..." +cd +rm -f basemap-1.0.7.tar.gz +rm -rf basemap-1.0.7 +subtask "done" + # Install miscellaneous Python packages needed for OCW. Some of these # can be installed with Conda, but since none of them have an annoying # compiled component we just installed them with Pip.
