1
0
mirror of https://github.com/mbirth/tcl_update_db.git synced 2024-12-26 04:24:07 +00:00

Bugfix and new tool to fetch db.

This commit is contained in:
Markus Birth 2018-01-19 22:18:35 +01:00
parent 41137663db
commit 02a122c29c
Signed by: mbirth
GPG Key ID: A9928D7A098C3A9A
2 changed files with 5 additions and 1 deletions

4
bin/get_db.sh Executable file
View File

@ -0,0 +1,4 @@
#!/bin/sh
MYDIR=$(dirname "$(readlink -f "$0")")
. "${MYDIR}/../config.ini"
rsync -av "${SYNC_REMOTE_DIR}/otadb.db3" "${MYDIR}/../"

View File

@ -1,4 +1,4 @@
#!/bin/sh #!/bin/sh
MYDIR=$(dirname "$(readlink -f "$0")")
. "${MYDIR}/../config.ini" . "${MYDIR}/../config.ini"
rsync -av "${MYDIR}/../otadb.db3" "${SYNC_REMOTE_DIR}/" rsync -av "${MYDIR}/../otadb.db3" "${SYNC_REMOTE_DIR}/"