Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

eliminate duplication in jruby requiremnts for ubuntu

  • Loading branch information...
commit 1b293d43dc6144ae8996e4bc1747853dffd3a75d 1 parent 4baf82e
@mpapis mpapis authored
Showing with 1 addition and 2 deletions.
  1. +1 −2  scripts/functions/requirements/ubuntu
View
3  scripts/functions/requirements/ubuntu
@@ -65,10 +65,10 @@ requirements_debian_define()
;;
(jruby*)
+ requirements_check g++
if
is_head_or_disable_binary "$1"
then
- requirements_check g++
update-alternatives --list javac >/dev/null 2>&1 ||
requirements_check_fallback \
openjdk-7-jdk oracle-j2sdk1.7 \
@@ -79,7 +79,6 @@ requirements_debian_define()
else __rvm_which ant >/dev/null || requirements_check ant
fi
else
- requirements_check g++
update-alternatives --list java >/dev/null 2>&1 ||
requirements_check_fallback \
openjdk-7-jre-headless openjdk-7-jdk oracle-j2sdk1.7 \
Please sign in to comment.
Something went wrong with that request. Please try again.