diff options
author | Jan Huwald <jh@sotun.de> | 2012-06-19 09:14:41 (GMT) |
---|---|---|
committer | Jan Huwald <jh@sotun.de> | 2012-06-19 09:14:41 (GMT) |
commit | 4cfc146c8cc1470dca98a6ea6e4fcf3a5f2378c9 (patch) | |
tree | 1d325e1ad34a9d91f08ba8071971e33b44e5eac3 /p2ptbl-recv |
initial commit (extracted from FFJ buildchain)
Diffstat (limited to 'p2ptbl-recv')
-rwxr-xr-x | p2ptbl-recv | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/p2ptbl-recv b/p2ptbl-recv new file mode 100755 index 0000000..f10fa39 --- /dev/null +++ b/p2ptbl-recv @@ -0,0 +1,12 @@ +#!/bin/sh + +set -e + +tbldir=/tmp/p2ptbl +tbl=$tbldir/$(basename $0) + +[ -f $tbl ] || p2ptbl init $tbl + +gunzip > $tbl.recv +p2ptbl merge $tbl $tbl.recv +rm $tbl.recv
\ No newline at end of file |