|
|
|
@ -178,6 +178,7 @@ class PMPackageKit(PackageManager):
|
|
|
|
|
def update_system(self):
|
|
|
|
|
check_target_env_call(["pkcon", "-py", "update"])
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class PMZypp(PackageManager):
|
|
|
|
|
backend = "zypp"
|
|
|
|
|
|
|
|
|
@ -198,6 +199,7 @@ class PMZypp(PackageManager):
|
|
|
|
|
# Doesn't need to update the system explicitly
|
|
|
|
|
pass
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class PMYum(PackageManager):
|
|
|
|
|
backend = "yum"
|
|
|
|
|
|
|
|
|
@ -215,6 +217,7 @@ class PMYum(PackageManager):
|
|
|
|
|
def update_system(self):
|
|
|
|
|
check_target_env_call(["yum", "-y", "upgrade"])
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class PMDnf(PackageManager):
|
|
|
|
|
backend = "dnf"
|
|
|
|
|
|
|
|
|
@ -274,6 +277,7 @@ class PMApt(PackageManager):
|
|
|
|
|
# Doesn't need to update the system explicitly
|
|
|
|
|
pass
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class PMXbps(PackageManager):
|
|
|
|
|
backend = "xbps"
|
|
|
|
|
|
|
|
|
@ -289,6 +293,7 @@ class PMXbps(PackageManager):
|
|
|
|
|
def update_system(self):
|
|
|
|
|
check_target_env_call(["xbps", "-Suy"])
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class PMPacman(PackageManager):
|
|
|
|
|
backend = "pacman"
|
|
|
|
|
|
|
|
|
|