Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
rjchallis committed Feb 24, 2017
2 parents 1cc4425 + 38713ce commit 1b2f663
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
1 change: 0 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,6 @@ USER eguser
COPY update.sh /ensembl/scripts/
COPY default.setup.ini /ensembl/conf/setup.ini
RUN /ensembl/scripts/update.sh /ensembl/conf/setup.ini
COPY placeholder-* /ensembl/conf/
COPY *.sh /ensembl/scripts/

WORKDIR /ensembl
Expand Down
4 changes: 2 additions & 2 deletions database.sh
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,9 @@ function load_db(){

# load sql into database
$ROOT_CONNECT $NAME < $DB/$DB.sql

# load data into database
if [ -s "$DB/*.txt.gz" ]; then

if ls $DB/*.txt.gz 1> /dev/null 2>&1; then
for ZIPPED_FILE in $DB/*.txt.gz
do
gunzip $ZIPPED_FILE
Expand Down
1 change: 1 addition & 0 deletions update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,7 @@ do
printf "DATABASE_CORE = $DB\n#OTHER_DATABASES\n\n" >> $SERVER_ROOT/public-plugins/mirror/conf/ini-files/$SP_UC_FIRST.ini
# !add database connection parameters to Genus_species.ini
printf "\n[DATABASE_CORE]\nHOST = $TEST_HOST\nPORT = $TEST_PORT\nUSER = $TEST_USER\nPASS = $TEST_PASS\n" >> $SERVER_ROOT/public-plugins/mirror/conf/ini-files/$SP_UC_FIRST.ini

# attempt to add additional database types
for DB_TYPE in $SPECIES_DB_AUTO_EXPAND
do
Expand Down

0 comments on commit 1b2f663

Please sign in to comment.