Commit | Line | Data |
---|---|---|
d206ccfe MW |
1 | #! /bin/sh -e |
2 | ||
3 | here=$(pwd) | |
4 | tmp=$(mktemp -d) | |
5 | trap 'cd; rm -rf "$tmp"' EXIT INT TERM | |
6 | ||
7 | cd "$tmp" | |
8 | git clone "$here" mirror | |
9 | cd mirror | |
10 | git checkout ftpsync | |
11 | ||
12 | curl https://ftp-master.debian.org/ftpsync.tar.gz | | |
13 | tar --strip-components=1 -xvmzf - distrib/bin distrib/etc/common | |
14 | ||
15 | git add bin/ etc/common | |
16 | git commit -m"New ftpsync upstream." | |
17 | git push | |
18 | ||
19 | cd "$here" |