kunt

golang IRC bot
git clone git://git.2f30.org/kunt
Log | Files | Refs | LICENSE

commit ff887e2e7e0d87451090e8dfd7f2e71f60ffc06f
parent fcb5b0176e6aab7b4a6cb8fcb68ce0f29120086f
Author: sin <sin@2f30.org>
Date:   Tue, 30 Apr 2013 15:32:24 +0100

update decdb and encdb

Diffstat:
Msrc/kunt/db/decdb | 4++++
Msrc/kunt/db/encdb | 4++++
2 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/src/kunt/db/decdb b/src/kunt/db/decdb @@ -6,6 +6,10 @@ if [ $# -eq 1 ]; then ../../bdec/bdec ${key} "$i" > "$i".tmp && mv "$i".tmp "$i" done + for i in urls/*; do + ../../bdec/bdec ${key} "$i" > "$i".tmp && + mv "$i".tmp "$i" + done else echo usage: decdb key 1>&2 exit 1 diff --git a/src/kunt/db/encdb b/src/kunt/db/encdb @@ -6,6 +6,10 @@ if [ $# -eq 1 ]; then ../../benc/benc ${key} "$i" > "$i".tmp && mv "$i".tmp "$i" done + for i in urls/*; do + ../../benc/benc ${key} "$i" > "$i".tmp && + mv "$i".tmp "$i" + done else echo usage: encdb key 1>&2 exit 1