aboutsummaryrefslogtreecommitdiffstats
path: root/lib/_installers
diff options
context:
space:
mode:
Diffstat (limited to 'lib/_installers')
-rwxr-xr-xlib/_installers16
1 files changed, 2 insertions, 14 deletions
diff --git a/lib/_installers b/lib/_installers
index 939349a..d10ee7a 100755
--- a/lib/_installers
+++ b/lib/_installers
@@ -49,23 +49,11 @@ function install_java {
# install_maven() - Install maven binaries
function install_maven {
- if is_package_installed maven3; then
+ if is_package_installed maven; then
return
fi
install_java
- source /etc/os-release || source /usr/lib/os-release
- case ${ID,,} in
- *suse)
- ;;
- ubuntu|debian)
- install_package software-properties-common
- add-apt-repository -y ppa:andrei-pozolotin/maven3
- ;;
- rhel|centos|fedora)
- ;;
- esac
- update_repos
- install_package maven3
+ install_package maven
# Remove Java 7
uninstall_package openjdk-7-jdk