diff options
| author | toufic ar <contact@toufy.me> | 2026-11-01 16:12:44 +0200 |
|---|---|---|
| committer | toufic ar <contact@toufy.me> | 2026-11-01 16:12:44 +0200 |
| commit | 3259368825f825883fef5ba471a80200873cc211 (patch) | |
| tree | 4c51c069365c491ac9dd7ded591aa8239887170e /root.sh | |
| parent | f26c560c7c635058e7bfed9bf13e5e621acdf619 (diff) | |
| download | taur-3259368825f825883fef5ba471a80200873cc211.tar.gz taur-3259368825f825883fef5ba471a80200873cc211.zip | |
keep deps, temporary fix for symlink fails
Diffstat (limited to 'root.sh')
| -rwxr-xr-x | root.sh | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -8,6 +8,14 @@ pacman-key --init pacman -Syu --noconfirm --needed \ base-devel git jq openssh rsync +readarray -t deps < <( + jq -r \ + '.[] .pkgs[] | select(.deps != null) | .deps[]' \ + pkgbuilds.json | + sort -u +) +pacman -Sy --needed --noconfirm "${deps[@]}" + jq -r \ '.[] .pkgs[] | select(.env != null) | .env | to_entries[] | "\(.key) \(.value)"' \ pkgbuilds.json | |
