1
0
Fork 0
mirror of https://codeberg.org/Mo8it/AdvLabDB.git synced 2024-11-08 21:21:06 +00:00
AdvLabDB/advlabdb/scripts/maintain/root_update.py
2022-05-08 21:26:25 +02:00

16 lines
277 B
Python

from ..terminal_utils import box, run
from .shared import show_update_datetime
def main():
show_update_datetime()
box("Update system packages")
run("sudo apt update")
run("sudo apt upgrade -y")
run("sudo reboot")
if __name__ == "__main__":
main()