2012-02-17 02:09:21 +01:00
|
|
|
#!/bin/bash
|
|
|
|
|
2012-06-06 02:21:59 +02:00
|
|
|
set -e
|
|
|
|
|
2012-02-17 02:09:21 +01:00
|
|
|
DEST=$1
|
|
|
|
|
|
|
|
|
2012-06-06 02:21:59 +02:00
|
|
|
[ "$DEST" ] || exit 1
|
|
|
|
|
2013-02-02 01:21:29 +01:00
|
|
|
"$(dirname "$0")"/ffhlwiki.py http://freifunk.metameute.de/wiki/Knoten > "$(dirname "$0")"/aliases_hl.json
|
|
|
|
"$(dirname "$0")"/ffhlwiki.py http://freifunk.metameute.de/wiki/Moelln:Knoten > "$(dirname "$0")"/aliases_moelln.json
|
|
|
|
|
2013-11-12 00:28:11 +01:00
|
|
|
"$(dirname "$0")"/bat2nodes.py -a "$(dirname "$0")"/aliases.json -a aliases_hl.json -a aliases_moelln.json > $DEST/nodes.json.new
|
2012-05-12 16:44:27 +02:00
|
|
|
|
|
|
|
mv $DEST/nodes.json.new $DEST/nodes.json
|
2012-02-17 02:09:21 +01:00
|
|
|
|