Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin/update-pacman-dbs
blob: 49a4af6678008f1d406e8bf01a2ad80009439efe (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 pentium4; 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