From 6ff48d01a7d2cb7ed03d6ffc227e6edfc547377a Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Wed, 17 Feb 2016 17:05:38 +0100 Subject: [PATCH] d4science-ghn-cluster/roles/dataminer_app/templates/wps_config.xml.j2: Update the configuration. library/roles/R/files/r_packages_cleanup.sh: Remove /usr/local/lib/R too. d4science-ghn-cluster/roles/dataminer_app/tasks/dataminer-app.yml: remove an unused jar that can cause problems. --- R/files/r_packages_cleanup.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/R/files/r_packages_cleanup.sh b/R/files/r_packages_cleanup.sh index d17d47e..e86b4f6 100644 --- a/R/files/r_packages_cleanup.sh +++ b/R/files/r_packages_cleanup.sh @@ -4,10 +4,11 @@ for package in r-base r-base-core r-base-dev r-base-html r-cran-boot r-cran-class r-cran-cluster r-cran-codetools r-cran-foreign r-cran-kernsmooth r-cran-lattice r-cran-mass r-cran-matrix r-cran-mgcv r-cran-nlme r-cran-nnet r-cran-rpart r-cran-spatial r-cran-survival r-doc-html r-recommended ; do apt-mark unhold $package; done # Remove the old r packages -apt-get purge r-base-* r-cran-* -y +apt-get purge r-base-* r-cran-* -y --force-yes +apt-get autoremove -y # Remove the CRAN packages -rm -fr /usr/lib/R /usr/local/lib/R +rm -fr /usr/lib/R/site-library /usr/local/lib/R/site-library rm -fr /var/cache/R/* exit 0