bin/openshifter-clean in openshifter-0.1 vs bin/openshifter-clean in openshifter-0.2
- old
+ new
@@ -1,7 +1,12 @@
#!/usr/bin/env ruby
require File.expand_path('../../lib/openshifter/init', __FILE__)
+if CONFIG['install'] == 'remote'
+ puts '-> Can not be used with remote install.'
+ exit(0)
+end
+
puts '-> Removing jRuby'
`rm -rf .openshift/lib`
puts '-> Removing RubyGems'
`rm -rf .openshift/gems`
\ No newline at end of file