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 |
|
---|
3 | if [ "x$GSDL3HOME" = "x" ] ; then
|
---|
4 | echo ""
|
---|
5 | GSDL3HOME=../../../web
|
---|
6 | echo "Using relative diretory for GSDL3HOME:"
|
---|
7 | echo " $GSDL3HOME"
|
---|
8 | echo ""
|
---|
9 | fi
|
---|
10 | if [ ! -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"
|
---|
16 | fi
|
---|
17 |
|
---|
18 | if [ -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"
|
---|
24 | fi
|
---|
25 |
|
---|
26 | echo ""
|
---|
27 | echo "Installing webpack JS library for gs-annotations to:"
|
---|
28 | echo " $GSDL3HOME/ext/structured-image/mirador3"
|
---|
29 |
|
---|
30 | mkdir "$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 |
|
---|
34 | echo ""
|
---|
35 |
|
---|
36 |
|
---|
37 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.