From 6c79a95436fb13b41fcd635c24dbfe8d96affeeb Mon Sep 17 00:00:00 2001 From: sommerfeld Date: Tue, 21 Apr 2026 01:23:28 +0100 Subject: 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. --- justfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/justfile b/justfile index 2febfea..5eae805 100644 --- a/justfile +++ b/justfile @@ -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: -- cgit v1.2.3-70-g09d2