lib/omnibus/fetchers/net_fetcher.rb in omnibus-1.0.2 vs lib/omnibus/fetchers/net_fetcher.rb in omnibus-1.0.3

- old
+ new

@@ -175,9 +175,11 @@ "gzip -dc #{project_file} | ( cd #{source_dir} && tar -xf - )" elsif project_file.end_with?(".bz2") "bzip2 -dc #{project_file} | ( cd #{source_dir} && tar -xf - )" elsif project_file.end_with?(".7z") "7z.exe x #{project_file} -o#{source_dir} -r -y" + elsif project_file.end_with?(".zip") + "unzip #{project_file} -d #{source_dir}" else #if we don't recognize the extension, simply copy over the file Proc.new do log "#{project_file} not an archive. Copying to #{project_dir}" # hack hack hack, no project dir yet