diff options
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 |