diff options
-rw-r--r-- | dumps/.mapping | 12 | ||||
-rwxr-xr-x | dumps/load-dumps.sh | 2 |
2 files changed, 7 insertions, 7 deletions
diff --git a/dumps/.mapping b/dumps/.mapping index 6a4306d..6bb9d44 100644 --- a/dumps/.mapping +++ b/dumps/.mapping @@ -1,7 +1,7 @@ -dmp202021_e sync/eliga2021.sql +# dmp202021_e sync/eliga2021.sql dmp202021_1n sync/_21_1ligan.sql -dmp202021_1s sync/tel.sql -dmp202021_2ne sync/nerr.sql -dmp202021_2nw sync/20nwrr.sql -dmp202021_2se sync/serrr.sql -dmp202021_2sw sync/2swrr.sql +# dmp202021_1s sync/tel.sql +# dmp202021_2ne sync/nerr.sql +# dmp202021_2nw sync/20nwrr.sql +# dmp202021_2se sync/serrr.sql +# dmp202021_2sw sync/2swrr.sql diff --git a/dumps/load-dumps.sh b/dumps/load-dumps.sh index 28370e6..a94f500 100755 --- a/dumps/load-dumps.sh +++ b/dumps/load-dumps.sh @@ -1,6 +1,6 @@ #!/bin/bash pushd $(dirname $0) >> /dev/null -cat .mapping | while read DB DUMP +grep -v '^#' .mapping | while read DB DUMP do grep -v 'CREATE DATABASE' $DUMP | grep -vi '^Use ' | mysql ${LIGA_MYSQL_CONNECTION_OPTS} $DB if [[ $(mysql ${LIGA_MYSQL_CONNECTION_OPTS} $DB -N -e "SELECT language FROM params;") == *"english.language"* ]] |