Skip to content

Commit

Permalink
Fixes #56 - Add Ubunut support
Browse files Browse the repository at this point in the history
  • Loading branch information
sean797 committed Apr 28, 2017
1 parent d1f196d commit 677571c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion tracer/packageManagers/dpkg.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@


from tracer.resources.system import System
if System.distribution() == "debian":
if System.distribution() in ["debian", "ubuntu"]:

from .ipackageManager import IPackageManager
from tracer.resources.package import Package
Expand Down
1 change: 1 addition & 0 deletions tracer/resources/system.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ def get_instance(pair):
managers = {
"gentoo": [("tracer.packageManagers.portage", "Portage")],
"debian": [("tracer.packageManagers.dpkg", "Dpkg")],
"ubuntu": [("tracer.packageManagers.dpkg", "Dpkg")],
"rhel": [("tracer.packageManagers.yum", "Yum")],
"centos": [("tracer.packageManagers.yum", "Yum")],
"ol": [("tracer.packageManagers.yum", "Yum")],
Expand Down

0 comments on commit 677571c

Please sign in to comment.