summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2022-02-16 01:09:31 +0100
committerHugo Hörnquist <hugo@lysator.liu.se>2022-02-16 01:09:31 +0100
commit3f88376b2cae1b55366dafe13f8ca55d87aa2c12 (patch)
tree18b937c14f76bc5712748d57a594dafc1ef26856
parentFormatting fixes. (diff)
downloadaur-runner-master.tar.gz
aur-runner-master.tar.xz
Always run pacman -Syu at start.HEADmaster
-rwxr-xr-xmain.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.py b/main.py
index 0dd81f5..e2c8762 100755
--- a/main.py
+++ b/main.py
@@ -281,7 +281,7 @@ def main():
if repo_pkgs:
logger.info('Installing from the repos: %s', repo_pkgs)
- subprocess_with_log(['sudo', 'pacman', *pacman_args, '-S', *repo_pkgs])
+ subprocess_with_log(['sudo', 'pacman', *pacman_args, '-Syu', *repo_pkgs])
failed_packages = []
for package in aur_pkgs: