source: main/trunk/greenstone3/web/get-installation-interface.sh@ 38995

Last change on this file since 38995 was 38434, checked in by davidb, 7 months ago

Added in the wget check as a sourced script

  • Property svn:executable set to *
File size: 937 bytes
Line 
1#!/bin/bash
2
3if [ $# = 0 ] ; then
4 echo "" >&2
5 echo "Usage: $0 <interface-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/interfaces/intermuse interfaces/intermuse
16
17echo ""
18echo "Checking out:"
19
20if [ $installation = "eurovision-lod" ] ; then
21 echo " https://svn.greenstone.org/gs3-installations/$installation/trunk/interfaces/eurovision -> interfaces/eurovision"
22 svn co https://svn.greenstone.org/gs3-installations/$installation/trunk/interfaces/eurovision interfaces/eurovision
23else
24 echo " https://svn.greenstone.org/gs3-installations/$installation/trunk/interfaces/$installation -> interfaces/$installation"
25 svn co https://svn.greenstone.org/gs3-installations/$installation/trunk/interfaces/$installation interfaces/$installation
26fi
27
28echo ""
29
30
Note: See TracBrowser for help on using the repository browser.