summaryrefslogtreecommitdiffstats
path: root/bin/update-mirrorlist-pkg
blob: bed01afcfbe54abd4e37fafab7f2d78dea9af1b9 (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 cbuild 64

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