Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

Commit acc9cf0

Browse files
committed
website: fix downloads
1 parent fe2a306 commit acc9cf0

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

website/helpers/download_helpers.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@
3333
module DownloadHelpers
3434
def download_arch(file)
3535
parts = file.split("_")
36-
return "" if parts.length != 4
37-
parts[3].split(".")[0]
36+
return "" if parts.length != 3
37+
parts[2].split(".")[0]
3838
end
3939

4040
def download_os_human(os)

0 commit comments

Comments
 (0)