Last change
on this file since 38216 was 38216, checked in by davidb, 2 months ago |
More robust
|
-
Property svn:executable
set to
*
|
File size:
929 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 |
|
---|
11 | if [ ! -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"
|
---|
17 | fi
|
---|
18 |
|
---|
19 | if [ -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"
|
---|
25 | fi
|
---|
26 |
|
---|
27 | echo ""
|
---|
28 | echo "Installing webpack JS library for gs-annotations to:"
|
---|
29 | echo " $GSDL3HOME/ext/structured-image/mirador3"
|
---|
30 |
|
---|
31 | mkdir "$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 |
|
---|
35 | echo ""
|
---|
36 |
|
---|
37 |
|
---|
38 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.