summaryrefslogtreecommitdiff
path: root/root.sh
diff options
context:
space:
mode:
authortoufic ar <contact@toufy.me>2026-10-20 21:48:04 +0300
committertoufic ar <contact@toufy.me>2026-10-20 21:48:04 +0300
commit3d1de3593d61e9dbe1c64ae5450e059b6f17c86e (patch)
treeed50dc96a1510daec55baa2591a13cf9c7ebfd6a /root.sh
parentced8f8c4568402ddec5a060cda1a4d8b1b9c0d6e (diff)
downloadtaur-3d1de3593d61e9dbe1c64ae5450e059b6f17c86e.tar.gz
taur-3d1de3593d61e9dbe1c64ae5450e059b6f17c86e.zip
+superhtml, some formatting changes
Diffstat (limited to 'root.sh')
-rwxr-xr-xroot.sh14
1 files changed, 11 insertions, 3 deletions
diff --git a/root.sh b/root.sh
index 0cae556..da9b25f 100755
--- a/root.sh
+++ b/root.sh
@@ -4,13 +4,21 @@ set -e
source ./env.sh
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 -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 | \
+ pkgbuilds.json |
while read -r target link; do ln -sf "$(pwd)"/env/"$target" "$link"; done
sed -i -E 's/(^OPTIONS=\([^)]*)\b(debug)\b/\1!\2/' /etc/makepkg.conf