From 35c0bc8c0b4f022fdab49d41c2895ed0241a99bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Je=CC=81ro=CC=82me=20Gamez?= Date: Sat, 5 Jan 2013 02:00:27 +0100 Subject: [PATCH] Changed download location for Kaleidoscope 2 Beta This change addresses the fact that Kaleidoscope is now provided as a `.tar.gz` file. --- recipes/kaleidoscope2.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes/kaleidoscope2.rb b/recipes/kaleidoscope2.rb index 5c8b5461..2c652e39 100644 --- a/recipes/kaleidoscope2.rb +++ b/recipes/kaleidoscope2.rb @@ -1,12 +1,12 @@ unless File.exists?("/Applications/Kaleidoscope.app") - remote_file "#{Chef::Config[:file_cache_path]}/kaleidoscope.zip" do + remote_file "#{Chef::Config[:file_cache_path]}/kaleidoscope2.tar.gz" do source "https://updates.blackpixel.com/latest-beta?app=ks" owner WS_USER end execute "unzip Kaleidoscope" do - command "unzip #{Chef::Config[:file_cache_path]}/kaleidoscope.zip -d #{Chef::Config[:file_cache_path]}/" + command "tar -xzf #{Chef::Config[:file_cache_path]}/kaleidoscope2.tar.gz -C #{Chef::Config[:file_cache_path]}/" user WS_USER end