source: main/trunk/greenstone3/web/get-installation-site.sh@ 38951

Last change on this file since 38951 was 38434, checked in by davidb, 6 months ago

Added in the wget check as a sourced script

  • Property svn:executable set to *
File size: 882 bytes
Line 
1#!/bin/bash
2
3if [ $# = 0 ] ; then
4 echo "" >&2
5 echo "Usage: $0 <site-name>" >&2
6 echo "" >&2
7 exit 1
8fi
9
10installation=$1
11
12. ./_gs-wget-check.bash
13
14# Looking to scriptify the following sort of svn checkout:
15# svn co https://svn.greenstone.org/gs3-installations/intermuse/trunk/sites/intermuse sites/intermuse
16
17echo ""
18echo "Checking out:"
19
20if [ $installation = "eurovision-lod" ] ; then
21 echo " https://svn.greenstone.org/gs3-installations/$installation/trunk/sites/eurovision -> sites/eurovision"
22 svn co https://svn.greenstone.org/gs3-installations/$installation/trunk/sites/eurovision sites/eurovision
23else
24 echo " https://svn.greenstone.org/gs3-installations/$installation/trunk/sites/$installation -> sites/$installation"
25 svn co https://svn.greenstone.org/gs3-installations/$installation/trunk/sites/$installation sites/$installation
26fi
27
28echo ""
29
30
Note: See TracBrowser for help on using the repository browser.