bin/kiosk in service_kiosk-0.5.3 vs bin/kiosk in service_kiosk-0.5.4
- old
+ new
@@ -51,9 +51,15 @@
puts "mall: #{mall}"
puts "dir: #{dir}"
jruby = `which jruby`.strip
exec(env, "#{jruby} #{mall}", :chdir => dir, :unsetenv_others => true)
+when 'create'
+ if ARGV[1]=='mall'
+ require 'fileutils'
+ FileUtils.cp_r gem_dir+"examples/kiosk_mall", "."
+ end
+
else
puts "Usage: $0 {plaza:init|plaza:up|plaza:down|plaza:ssh|mall:open|mall:close|mall:log}"
end