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

Last change on this file was 38216, checked in by davidb, 7 months ago

More robust

  • Property svn:executable set to *
File size: 929 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
10
11if [ ! -d "$GSDL3HOME/ext/structured-image/" ] ; then
12 echo ""
13 echo "Creating directory:"
14 echo " $GSDL3HOME/ext/structured-image"
15 echo ""
16 mkdir "$GSDL3HOME/ext/structured-image"
17fi
18
19if [ -d "$GSDL3HOME/ext/structured-image/mirador3" ] ; then
20 echo ""
21 echo "Removing previous installation:"
22 echo " $GSDL3HOME/ext/structured-image/mirador3"
23
24 /bin/rm -rf "$GSDL3HOME/ext/structured-image/mirador3"
25fi
26
27echo ""
28echo "Installing webpack JS library for gs-annotations to:"
29echo " $GSDL3HOME/ext/structured-image/mirador3"
30
31mkdir "$GSDL3HOME/ext/structured-image/mirador3"
32
33/bin/cp -r mirador-integration-annotations-gitfork/webpack/dist-gs-annotations "$GSDL3HOME/ext/structured-image/mirador3/dist"
34
35echo ""
36
37
38
Note: See TracBrowser for help on using the repository browser.