mirror of
https://github.com/parchlinux/calamares.git
synced 2025-06-30 10:55:37 -04:00
pep8 302
This commit is contained in:
parent
e29462bc05
commit
c16866fb88
1 changed files with 5 additions and 0 deletions
|
@ -178,6 +178,7 @@ class PMPackageKit(PackageManager):
|
||||||
def update_system(self):
|
def update_system(self):
|
||||||
check_target_env_call(["pkcon", "-py", "update"])
|
check_target_env_call(["pkcon", "-py", "update"])
|
||||||
|
|
||||||
|
|
||||||
class PMZypp(PackageManager):
|
class PMZypp(PackageManager):
|
||||||
backend = "zypp"
|
backend = "zypp"
|
||||||
|
|
||||||
|
@ -198,6 +199,7 @@ class PMZypp(PackageManager):
|
||||||
# Doesn't need to update the system explicitly
|
# Doesn't need to update the system explicitly
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|
||||||
class PMYum(PackageManager):
|
class PMYum(PackageManager):
|
||||||
backend = "yum"
|
backend = "yum"
|
||||||
|
|
||||||
|
@ -215,6 +217,7 @@ class PMYum(PackageManager):
|
||||||
def update_system(self):
|
def update_system(self):
|
||||||
check_target_env_call(["yum", "-y", "upgrade"])
|
check_target_env_call(["yum", "-y", "upgrade"])
|
||||||
|
|
||||||
|
|
||||||
class PMDnf(PackageManager):
|
class PMDnf(PackageManager):
|
||||||
backend = "dnf"
|
backend = "dnf"
|
||||||
|
|
||||||
|
@ -274,6 +277,7 @@ class PMApt(PackageManager):
|
||||||
# Doesn't need to update the system explicitly
|
# Doesn't need to update the system explicitly
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|
||||||
class PMXbps(PackageManager):
|
class PMXbps(PackageManager):
|
||||||
backend = "xbps"
|
backend = "xbps"
|
||||||
|
|
||||||
|
@ -289,6 +293,7 @@ class PMXbps(PackageManager):
|
||||||
def update_system(self):
|
def update_system(self):
|
||||||
check_target_env_call(["xbps", "-Suy"])
|
check_target_env_call(["xbps", "-Suy"])
|
||||||
|
|
||||||
|
|
||||||
class PMPacman(PackageManager):
|
class PMPacman(PackageManager):
|
||||||
backend = "pacman"
|
backend = "pacman"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue