change run to call
This commit is contained in:
parent
de73914477
commit
72f0244a7c
@ -7,9 +7,9 @@ class Systemupdate(AbstractModule):
|
|||||||
|
|
||||||
def run(self):
|
def run(self):
|
||||||
print("Running update")
|
print("Running update")
|
||||||
subprocess.run("apt update")
|
subprocess.call("apt update")
|
||||||
subprocess.run("apt upgrade")
|
subprocess.call("apt upgrade")
|
||||||
subprocess.run("apt dist-upgrade")
|
subprocess.call("apt dist-upgrade")
|
||||||
subprocess.run("apt autoremove")
|
subprocess.call("apt autoremove")
|
||||||
subprocess.run("apt autoclean")
|
subprocess.call("apt autoclean")
|
||||||
print("All update processes finished, please check output for further details.")
|
print("All update processes finished, please check output for further details.")
|
||||||
|
Loading…
Reference in New Issue
Block a user