diff --git a/openbis/dist/admin/boot.sh b/openbis/dist/admin/boot.sh deleted file mode 100755 index 5de9e22b05b976dca02cdceac799a99ce519b0d3..0000000000000000000000000000000000000000 --- a/openbis/dist/admin/boot.sh +++ /dev/null @@ -1,51 +0,0 @@ -#!/bin/bash -# Fetches "openBIS for HCS" administration scripts from source repository to the bin folder in current directory. - -# setup scripts for the generic openBIS version -SVN_DIR_GENERIC=svnsis.ethz.ch/repos/cisd/openbis/trunk/dist/admin - -#setup scripts for screening version -SVN_DIR_SCREENING=svnsis.ethz.ch/repos/cisd/screening/trunk/dist/admin - - -BASE=`dirname "$0"` -if [ ${BASE#/} == ${BASE} ]; then - BASE="`pwd`/${BASE}" -fi - -SERVERS_DIR=$BASE/servers - -if [ ! -d "$SERVERS_DIR" ]; then - echo "$SERVERS_DIR does not exist. Aborting ..." - exit 1 -fi - -SCREENING_ZIPS_EXIST=`find "$SERVERS_DIR" -name "*server-screening*.zip"` -GENERIC_ZIPS_EXIST=`find "$SERVERS_DIR" -name "*server-*.zip"` - -if [ -n "$SCREENING_ZIPS_EXIST" ]; then - - echo "Downloading admin scripts for openBIS screening..." - SVN_DIR=$SVN_DIR_SCREENING - -elif [ -n "$GENERIC_ZIPS_EXIST" ]; then - - echo "Downloading admin scripts for generic openBIS installation..." - SVN_DIR=$SVN_DIR_GENERIC - -else - echo "Could not detect openBIS archives in $SERVERS_DIR. Please, download openBIS and datastore server archives and try again..." - exit 2 -fi - - -mkdir bin -cd bin - -wget $SVN_DIR/svn-update.sh -wget $SVN_DIR/env - - -source ./svn-update.sh - -cd .. \ No newline at end of file diff --git a/openbis/dist/admin/svn-update.sh b/openbis/dist/admin/svn-update.sh deleted file mode 100755 index 4ddc7f3884309ecd5fff8cb771feaf31eff772ce..0000000000000000000000000000000000000000 --- a/openbis/dist/admin/svn-update.sh +++ /dev/null @@ -1,25 +0,0 @@ -#!/bin/bash -# Updates all the admin scripts to the version found in SVN. - -# screening-specific -SVN=svnsis.ethz.ch/repos/cisd/openbis/trunk/dist/admin - -# set directory -BASE=`dirname "$0"` -if [ ${BASE#/} == ${BASE} ]; then - BASE="`pwd`/${BASE}" -fi - -if [ -z $OPENBIS_HOME ]; then - OPENBIS_HOME=${BASE} -fi - -# checking for wget -WGET_HOME=`which wget` - -# download the scripts -$WGET_HOME -nH --cut-dirs=6 --directory-prefix $OPENBIS_HOME --no-verbose -r -l2 -A.{sh,sql} http://$SVN/ - -# set permissions -find $OPENBIS_HOME -type f -name "*.sh" -exec chmod 700 {} \; - diff --git a/screening/dist/admin/boot.sh b/screening/dist/admin/boot.sh deleted file mode 100755 index f252a31223e08c9952a0fd99ab7677b9459dd360..0000000000000000000000000000000000000000 --- a/screening/dist/admin/boot.sh +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/bash -# Fetches "openBIS for HCS" administration scripts from source repository to the bin folder in current directory. - -SVN_DIR=svnsis.ethz.ch/repos/cisd/screening/trunk/dist/admin - -mkdir bin -cd bin -wget $SVN_DIR/svn-update.sh -wget $SVN_DIR/env -. ./svn-update.sh -cd .. \ No newline at end of file diff --git a/screening/dist/admin/svn-update.sh b/screening/dist/admin/svn-update.sh deleted file mode 100755 index 01c416e9038705bebdec1f0baa9966ef5a463b30..0000000000000000000000000000000000000000 --- a/screening/dist/admin/svn-update.sh +++ /dev/null @@ -1,27 +0,0 @@ -#!/bin/bash -# Updates all the admin scripts to the version found in SVN. - -# screening-specific -SVN=svnsis.ethz.ch/repos/cisd/screening/trunk/dist/admin -SVN2=svnsis.ethz.ch/repos/cisd/installation/trunk/resource/installer/bin/backup-databases.sh - -# set directory -BASE=`dirname "$0"` -if [ ${BASE#/} == ${BASE} ]; then - BASE="`pwd`/${BASE}" -fi - -if [ -z $OPENBIS_HOME ]; then - OPENBIS_HOME=${BASE} -fi - -# checking for wget -WGET_HOME=`which wget` - -# download the scripts -$WGET_HOME -nH --cut-dirs=6 --directory-prefix $OPENBIS_HOME --no-verbose -r -l2 -A.{sh,sql} http://$SVN/ -$WGET_HOME -nH --directory-prefix $OPENBIS_HOME --no-verbose http://$SVN2 - -# set permissions -find $OPENBIS_HOME -type f -name "*.sh" -exec chmod 700 {} \; -