Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin/update-pacman-dbs
blob: ea601c9176e0f69d26560ff021e70e827b8437f9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh

base_dir=$(
  readlink -f "${0%/*}/.."
)

pacman -Syy

for arch in i486 i686; do

  pacman --config "${base_dir}/misc/pacman-${arch}.conf" -Syy
  su master -c 'pkgfile -C '"${base_dir}"'/misc/pacman-'"${arch}"'.conf -D '"${base_dir}"'/work/pkgfile-'"${arch}"'.cache -u'

done