summaryrefslogtreecommitdiff
path: root/.local/bin/update
blob: 3fc50672c9281bfbea744d444b686da6fb252bc5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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"])