Skip to content

Commit

Permalink
Fixed foolishness of leaving out galliumos.
Browse files Browse the repository at this point in the history
Long story short had two versions, one on laptop one on desktop. Forgot to add the line to add galliumos into the desktop when I pushed the last commit.
  • Loading branch information
CodyKank committed Sep 15, 2016
1 parent aab0052 commit 4c8baa1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions python_update.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// Python 3 Linux System Update Script \\
// Cody Kankel \\
|| Started Jul 11, 2016 ||
|| Last update: September 11th, 2016 ||
|| Last update: September 14th, 2016 ||
\\Currently only supports debian/ubuntu distros with apt-get, and Arch based distros with pacman.//
\\ !RHEL based distros have not been tested yet! //
\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\///////////////////////////////////////////////"""
Expand Down Expand Up @@ -92,8 +92,8 @@ def get_system_type():

# switch statement wanna-be
distro_choices = {'fedora': 'rhel', 'centos': 'rhel', 'scientific': 'rhel', 'rhel': 'rhel', \
'debian': 'debian', 'ubuntu': 'debian', 'xubuntu': 'debian', 'arch': 'arch', \
'antergos': 'arch', 'manjaro': 'arch'}
'debian': 'debian', 'ubuntu': 'debian', 'xubuntu': 'debian', 'galliumos': 'debian', \
'arch': 'arch', 'antergos': 'arch', 'manjaro': 'arch'}
default = 'Unknown'
system = distro_choices.get(system_id, default)
if system == default:
Expand Down

0 comments on commit 4c8baa1

Please sign in to comment.