change run to call

This commit is contained in:
Marcel Schwarz 2020-03-05 19:50:23 +01:00
parent de73914477
commit 72f0244a7c

View File

@ -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.")