summaryrefslogtreecommitdiffstats
path: root/bin/update-mirrorlist-pkg
blob: 89eab7376a260a9bc42815363bd34d01592e4b99 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/bash

set -e

# TODO: make path configurable
cd ~/arch/extra/pacman-mirrorlist/
svn up
cd trunk

# TODO: ship upgpkg here?
# https://git.server-speed.net/users/flo/bin/plain/upgpkg
upgpkg a
svn diff mirrorlist | pygmentize
printf "confirm update (enter)"
read
# TODO make build cmd configurable
# use extra-x86_64-build as default
ch build 64

corepkg "upstream update"
ssh repos.archlinux.org /packages/db-update