Permalink
Browse files

eliminate duplication in jruby requiremnts for ubuntu

  • Loading branch information...
1 parent 4baf82e commit 1b293d43dc6144ae8996e4bc1747853dffd3a75d @mpapis mpapis committed Mar 7, 2014
Showing with 1 addition and 2 deletions.
  1. +1 −2 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 \

0 comments on commit 1b293d4

Please sign in to comment.