diff options
Diffstat (limited to '.local/bin/update')
-rwxr-xr-x | .local/bin/update | 13 |
1 files changed, 13 insertions, 0 deletions
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"]) |