diff options
author | emkael <emkael@tlen.pl> | 2015-02-17 16:54:07 +0100 |
---|---|---|
committer | emkael <emkael@tlen.pl> | 2015-02-17 16:54:07 +0100 |
commit | 637542f594ae0fb1648ac7b20cc86ee82895731b (patch) | |
tree | 9e13e3bf6d0c20f0dda6e82cc692dab58fb1f7b9 /import | |
parent | 6c203d33de45dc7f0926d59749dabcd94f888947 (diff) |
* base DB import script
Diffstat (limited to 'import')
-rwxr-xr-x | import/00_base_import.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/import/00_base_import.sh b/import/00_base_import.sh new file mode 100755 index 0000000..a5dc396 --- /dev/null +++ b/import/00_base_import.sh @@ -0,0 +1,8 @@ +#!/bin/bash +pushd $(dirname $0) > /dev/null +if [ ! -f ../fetcher/f1db.sql ] +then + ../fetcher/fetch.sh +fi +< ../fetcher/f1db.sql mysql "$@" +popd > /dev/null |