Permalink
Browse files

add missing requirements_osx_port_lib_available, update #2692

  • Loading branch information...
1 parent 2786eda commit f274baf2da3e697e26d476558aef85274ecb9542 @mpapis mpapis committed Mar 11, 2014
Showing with 5 additions and 0 deletions.
  1. +5 −0 scripts/functions/requirements/osx_port
@@ -29,6 +29,11 @@ requirements_osx_port_version_list()
port -q installed $1* 2>/dev/null | __rvm_sed -e 's/.* @//' -e 's/_.*//' -e 's/ .*//'
}
+requirements_osx_port_lib_available()
+{
+ port info $1 >/dev/null 2>&1 || return $?
+}
+
requirements_osx_port_lib_installed()
{
port -q installed $1 | __rvm_grep active >/dev/null || return $? ;

0 comments on commit f274baf

Please sign in to comment.