source: gs3-extensions/structured-image/trunk/src/INSTALL-MIRADOR.sh@ 38213

Last change on this file since 38213 was 38213, checked in by davidb, 2 months ago

More robust

  • Property svn:executable set to *
File size: 928 bytes
Line 
1#!/bin/bash
2
3if [ "x$GSDL3HOME" = "x" ] ; then
4 echo ""
5 GSDL3HOME=../../../web
6 echo "Using relative diretory for GSDL3HOME:"
7 echo " $GSDL3HOME"
8 echo ""
9fi
10if [ ! -d "$GSDL3HOME/ext/structured-image/" ] ; then
11 echo ""
12 echo "Creating directory:"
13 echo " $GSDL3HOME/ext/structured-image"
14 echo ""
15 mkdir "$GSDL3HOME/ext/structured-image"
16fi
17
18if [ -d "$GSDL3HOME/ext/structured-image/mirador3" ] ; then
19 echo ""
20 echo "Removing previous installation:"
21 echo " $GSDL3HOME/ext/structured-image/mirador3"
22
23 /bin/rm -rf "$GSDL3HOME/ext/structured-image/mirador3"
24fi
25
26echo ""
27echo "Installing webpack JS library for gs-annotations to:"
28echo " $GSDL3HOME/ext/structured-image/mirador3"
29
30mkdir "$GSDL3HOME/ext/structured-image/mirador3"
31
32/bin/cp -r mirador-integration-annotations-gitfork/webpack/dist-gs-annotations "$GSDL3HOME/ext/structured-image/mirador3/dist"
33
34echo ""
35
36
37
Note: See TracBrowser for help on using the repository browser.