Updated path for theme
This commit is contained in:
parent
b55a9ce535
commit
fead457616
|
@ -27,7 +27,7 @@ namespace :new_site do
|
||||||
def upload_package
|
def upload_package
|
||||||
temp_file = Tempfile.new("temp_file")
|
temp_file = Tempfile.new("temp_file")
|
||||||
path = File.expand_path('~')
|
path = File.expand_path('~')
|
||||||
puts original_file = File.open("#{path}/orbit_theme/Orbit-Default.zip")
|
puts original_file = File.open("#{path}/orbitdefault.zip")
|
||||||
#if original_file.content_type == 'application/zip'
|
#if original_file.content_type == 'application/zip'
|
||||||
temp_file.write(original_file.read.force_encoding('UTF-8'))
|
temp_file.write(original_file.read.force_encoding('UTF-8'))
|
||||||
temp_file.rewind
|
temp_file.rewind
|
||||||
|
|
Loading…
Reference in New Issue