Skip to content

Commit

Permalink
fix arch display again
Browse files Browse the repository at this point in the history
  • Loading branch information
digitaltom committed Mar 19, 2012
1 parent 3a6090d commit 8d87564
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions app/helpers/package_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,17 @@ module PackageHelper

def human_arch arch
case arch
when ( "i586" || "i386" ) then
when ( "i586" ) then
"32 Bit"
when ("x86_64" || "amd64") then
when ( "i386" ) then
"32 Bit"
when ("x86_64") then
"64 Bit"
when ("amd64") then
"64 Bit"
when ("src" || "nosrc") then
when ("src") then
"Source"
when ("nosrc") then
"Source"
else
arch
Expand Down

0 comments on commit 8d87564

Please sign in to comment.