diff options
| author | 2026-04-21 01:23:28 +0100 | |
|---|---|---|
| committer | 2026-04-21 01:23:28 +0100 | |
| commit | 6c79a95436fb13b41fcd635c24dbfe8d96affeeb (patch) | |
| tree | 721d126ada890849036ebb30234c16f5b6dfed9b /justfile | |
| parent | 759384811d47684da90f7024c3fb580d81650b77 (diff) | |
| download | dotfiles-6c79a95436fb13b41fcd635c24dbfe8d96affeeb.tar.gz dotfiles-6c79a95436fb13b41fcd635c24dbfe8d96affeeb.tar.bz2 dotfiles-6c79a95436fb13b41fcd635c24dbfe8d96affeeb.zip | |
fix: pass --ask=4 to piped paru installs to auto-resolve conflicts
Needed so the first 'just init' on a stock Arch system (sudo preinstalled)
can swap sudo for doas-sudo-shim without a prompt pacman refuses to emit
under --noconfirm.
Diffstat (limited to 'justfile')
| -rw-r--r-- | justfile | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -35,7 +35,7 @@ fix: done if [ $((installed * 2)) -ge "$total" ] && [ "$installed" -lt "$total" ]; then echo ">>> topping up $group ($installed/$total installed)" - echo "$pkgs" | paru -S --needed --noconfirm - + echo "$pkgs" | paru -S --needed --noconfirm --ask=4 - fi done @@ -129,13 +129,13 @@ groups group="": install *groups: #!/bin/sh for group in {{ groups }}; do - grep -v '^\s*#' "meta/${group}.txt" | grep -v '^\s*$' | paru -S --needed --noconfirm - + grep -v '^\s*#' "meta/${group}.txt" | grep -v '^\s*$' | paru -S --needed --noconfirm --ask=4 - done # Install every package group install-all: #!/bin/sh - cat meta/*.txt | grep -v '^\s*#' | grep -v '^\s*$' | sort -u | paru -S --needed --noconfirm - + cat meta/*.txt | grep -v '^\s*#' | grep -v '^\s*$' | sort -u | paru -S --needed --noconfirm --ask=4 - # Append a package to a group list and install it (e.g. just add dev ripgrep) add group pkg: |
