Mercurial > repos > petrn > repeatexplorer
changeset 12:b4195377038d draft
Deleted selected files
author | petrn |
---|---|
date | Thu, 02 Jan 2020 14:12:13 +0000 |
parents | 01ee3a7443e1 |
children | 09c1934e0c45 |
files | fetch_databases.sh version_info.txt |
diffstat | 2 files changed, 0 insertions(+), 36 deletions(-) [+] |
line wrap: on
line diff
--- a/fetch_databases.sh Thu Jan 02 14:12:02 2020 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,35 +0,0 @@ -#!/bin/bash -#set -euo pipefail -DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" -echo "protein databases necessary for full clustering analysis" -echo "are downloaded from bitbucket repository using git" -echo "" -cd $DIR -git clone https://bitbucket.org/petrnovak/re_databases.git 2> $DIR/.fetchdb.log -GITEXIT=$? -if [ $GITEXIT -eq "0" ] -then - echo "databases successfully downloaded" - ln -sf $DIR/re_databases/* $DIR/databases/ -fi -# cat $DIR/.fetchdb.log -if [ $GITEXIT -eq "128" ] -then - if grep -q -F "Authentication failed" $DIR/.fetchdb.log - then - echo "get login credential from (neumann at umbr.cas.cz)!" - fi - if grep -q -F "already exist" $DIR/.fetchdb.log - then - echo "repository alredy exists, updating..." - cd $DIR/re_databases - git pull && ln -f -s $DIR/re_databases/* $DIR/databases/ && find . -type f -exec touch {} + - fi - -fi - - - - - -