Skip to content

Instantly share code, notes, and snippets.

@mrunalp
Created September 14, 2012 17:16
Show Gist options
  • Save mrunalp/3723316 to your computer and use it in GitHub Desktop.
Save mrunalp/3723316 to your computer and use it in GitHub Desktop.
Get list of framework carts
diff --git a/stickshift/abstract/abstract/info/lib/util b/stickshift/abstract/abstract/info/lib/util
index 86fae75..1e8dcad 100755
--- a/stickshift/abstract/abstract/info/lib/util
+++ b/stickshift/abstract/abstract/info/lib/util
@@ -33,6 +33,9 @@ function get_stop_order {
echo $(get_component_order "tac")
}
+function get_installed_framework_carts {
+ (cd $OPENSHIFT_HOMEDIR; ls -d {diy-0.1,jbossas-7,jbosseap-6.0,jenkins-1.4,nodejs-0.6,perl-5.10,php-5.3,python-2.6,ruby-1.8,ruby-1.9,zend-5.6} 2>/dev/null)
+}
# Public
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment