remove_package added

This commit is contained in:
cemrealpsoy 2016-07-20 16:30:42 +03:00
commit f93f0c1200

View file

@ -272,12 +272,6 @@ class Util:
return True return True
return False return False
@staticmethod
def install_package(package_name, package_version):
command = "sudo apt-get --yes --force-yes install {0}={1}".format(package_name, package_version)
result_code, p_out, p_err = Util.execute(command)
return result_code, p_out, p_err
@staticmethod @staticmethod
def remove_package(package_name, package_version): def remove_package(package_name, package_version):
command = "sudo apt-get --yes --force-yes purge {0}={1}".format(package_name, package_version) command = "sudo apt-get --yes --force-yes purge {0}={1}".format(package_name, package_version)