Fixed gsub in update script
This commit is contained in:
parent
0fb8aa57bb
commit
033c086a37
1 changed files with 1 additions and 1 deletions
|
@ -74,7 +74,7 @@ end
|
||||||
%x[rm -rf '#{temp_path}/Cog.app' '#{temp_path}/Cog.old' '#{temp_path}/Cog.zip']
|
%x[rm -rf '#{temp_path}/Cog.app' '#{temp_path}/Cog.old' '#{temp_path}/Cog.zip']
|
||||||
|
|
||||||
#Retrieve the current full package
|
#Retrieve the current full package
|
||||||
local_file = "#{appcast_url}".gsub(_https://kode54.net/cog_, '#{site_dir}')
|
local_file = "#{appcast_url}".gsub(/https:\/\/kode54.net\/cog/, '#{site_dir}')
|
||||||
%x[cp '#{local_file}' '#{temp_path}/Cog.zip']
|
%x[cp '#{local_file}' '#{temp_path}/Cog.zip']
|
||||||
|
|
||||||
#Unpack and rename
|
#Unpack and rename
|
||||||
|
|
Loading…
Reference in a new issue