summaryrefslogtreecommitdiff
path: root/root.sh
diff options
context:
space:
mode:
authortoufic ar <contact@toufy.me>2026-11-01 16:12:44 +0200
committertoufic ar <contact@toufy.me>2026-11-01 16:12:44 +0200
commit3259368825f825883fef5ba471a80200873cc211 (patch)
tree4c51c069365c491ac9dd7ded591aa8239887170e /root.sh
parentf26c560c7c635058e7bfed9bf13e5e621acdf619 (diff)
downloadtaur-3259368825f825883fef5ba471a80200873cc211.tar.gz
taur-3259368825f825883fef5ba471a80200873cc211.zip
keep deps, temporary fix for symlink fails
Diffstat (limited to 'root.sh')
-rwxr-xr-xroot.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/root.sh b/root.sh
index fcf008b..04499c7 100755
--- a/root.sh
+++ b/root.sh
@@ -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 |