mirror of
https://codeberg.org/Mo8it/AdvLabDB.git
synced 2024-12-22 23:51:03 +00:00
16 lines
277 B
Python
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()
|