From 9b41dbdcb2c810804417b9ffc4e74a7b3e534ac2 Mon Sep 17 00:00:00 2001 From: Daniel Weipert Date: Tue, 14 Nov 2023 13:33:14 +0100 Subject: initial commit --- .local/bin/update | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 .local/bin/update (limited to '.local/bin/update') diff --git a/.local/bin/update b/.local/bin/update new file mode 100755 index 0000000..3fc5067 --- /dev/null +++ b/.local/bin/update @@ -0,0 +1,13 @@ +#!/usr/bin/env python3 + +import sys, os +import subprocess + + +# apt +subprocess.run(["sudo", "apt", "update"]) +subprocess.run(["sudo", "apt", "upgrade", "-y"]) + + +# docker +subprocess.run(["docker-compose-update-all"]) -- cgit v1.2.3