mirror of
https://codeberg.org/Mo8it/AdvLabDB.git
synced 2024-09-19 18:31:16 +00:00
17 lines
317 B
Python
17 lines
317 B
Python
|
from advlabdb.scripts.maintain.shared import show_update_datetime
|
||
|
from advlabdb.scripts.terminal_utils import box, run
|
||
|
|
||
|
|
||
|
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()
|