Skip to content

Commit

Permalink
Fix distrodetect.class
Browse files Browse the repository at this point in the history
  • Loading branch information
eloaders committed Jan 30, 2012
1 parent 6ee31cf commit d703ca3
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 14 deletions.
Binary file modified src/i-nex/.gambas/DISTRODETECT
Binary file not shown.
24 changes: 10 additions & 14 deletions src/i-nex/.src/distrodetect.class
Original file line number Diff line number Diff line change
Expand Up @@ -7,45 +7,41 @@ Static Public Sub distro_detect()
If distro Like "*Ubuntu*" Then
Finfosys.TextArea29.Text = distro
Finfosys.TextArea32.Text = codename
Else
Endif
If distro Like "*Arch*" Then
Finfosys.TextArea29.Text = "Arch Linux"
Finfosys.TextArea32.Text = codename
Else
Endif
If distro Like "*Debian*" Then
Finfosys.TextArea29.Text = "Debian"
Finfosys.TextArea32.Text = codename
Else
Endif
If distro Like "LinuxMint" And If codename Like "debian" Then
Finfosys.TextArea29.Text = "Linux Mint Debian Edition"
Finfosys.TextArea32.Text = codename
Else
Endif
If distro Like "LinuxMint" Then
Finfosys.TextArea29.Text = "Linux Mint"
Finfosys.TextArea32.Text = codename
Endif
If distro Like "*Fedora*" Then
Finfosys.TextArea29.Text = "Fedora"
Finfosys.TextArea32.Text = codename
Endif
If distro Like "*CrunchBang*" Then
Finfosys.TextArea29.Text = "CrunchBang"
Finfosys.TextArea32.Text = codename
Endif
If distro Like "*frugalware*" Then
Finfosys.TextArea29.Text = "frugalware"
Finfosys.TextArea32.Text = codename
Endif
If distro Like "*Peppermint*" Then
Finfosys.TextArea29.Text = "Peppermint"
Finfosys.TextArea32.Text = codename
Endif
If Exist("/etc/SuSE-release") Then
Finfosys.TextArea29.Text = "OpenSUSE"
Finfosys.TextArea32.Text = codename
Endif
Endif
Endif
Endif
Endif
Endif
Endif
Endif
Endif
Endif
Endif
End

0 comments on commit d703ca3

Please sign in to comment.