1 2 3 4 5 6 7 8 9 10 11 12
#!/bin/sh base_dir=$( readlink -f "${0%/*}/.." ) 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