diff --git a/build/fetchDatabase.sh b/build/fetchSampleDatabases.sh similarity index 100% rename from build/fetchDatabase.sh rename to build/fetchSampleDatabases.sh diff --git a/build/manageSamples.sh b/build/manageSamples.sh deleted file mode 100644 index 888b19f..0000000 --- a/build/manageSamples.sh +++ /dev/null @@ -1,26 +0,0 @@ -#!/bin/sh - - -DB_WORLD_URL="https://downloads.mysql.com/docs/world.sql.zip" -DB_WORLDX_URL="https://downloads.mysql.com/docs/world_x-db.zip" -DB_SAKILA_URL="https://downloads.mysql.com/docs/sakila-db.zip" -DB_MESSAGERIE_URL="https://downloads.mysql.com/docs/menagerie-db.zip" -DB_TESTDB_URL="https://github.com/datacharmer/test_db/archive/master.zip" - -getVal() -{ - local vari=$1 - eval "echo \$$vari" -} -case "$1" in - "fetch") - set -x - mkdir -p ./contents - wget -O contents/$(basename $(getVal "DB_$2_URL")) $(getVal "DB_$2_URL") - ;; - "load") - ;; - *) - echo "Unknown operation: $1" - ;; -esac \ No newline at end of file