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