Add default yes parameter
This commit is contained in:
parent
2e4ba51a58
commit
5d7fde2848
@ -7,9 +7,9 @@ class Systemupdate(AbstractModule):
|
||||
|
||||
def run(self):
|
||||
print("Running update")
|
||||
subprocess.call(["apt", "update"])
|
||||
subprocess.call(["apt", "upgrade"])
|
||||
subprocess.call(["apt", "dist-upgrade"])
|
||||
subprocess.call(["apt", "autoremove"])
|
||||
subprocess.call(["apt", "autoclean"])
|
||||
subprocess.call(["apt", "update", "-y"])
|
||||
subprocess.call(["apt", "upgrade", "-y"])
|
||||
subprocess.call(["apt", "dist-upgrade", "-y"])
|
||||
subprocess.call(["apt", "autoremove", "-y"])
|
||||
subprocess.call(["apt", "autoclean", "-y"])
|
||||
print("All update processes finished, please check output for further details.")
|
||||
|
Loading…
Reference in New Issue
Block a user