Last change
on this file was 37572, checked in by davidb, 13 months ago |
Now with css theme selector in control bar
|
-
Property svn:executable
set to
*
|
File size:
1.1 KB
|
Line | |
---|
1 | #!/bin/bash
|
---|
2 |
|
---|
3 | dst_dir=../../web/ext/tabletop-dl
|
---|
4 |
|
---|
5 | echo ""
|
---|
6 | echo "****"
|
---|
7 | echo "Rsyncing extension files to: $dst_dir"
|
---|
8 | echo "****"
|
---|
9 | echo ""
|
---|
10 |
|
---|
11 | dst_dir=../../web/ext/tabletop-dl
|
---|
12 |
|
---|
13 | if [ ! -d $dst_dir ] ; then
|
---|
14 | echo "Making directory $dst_dir"
|
---|
15 | mkdir $dst_dir
|
---|
16 | fi
|
---|
17 |
|
---|
18 | rsync -pav \
|
---|
19 | interactjs-dist \
|
---|
20 | winbox-with-interactjs-dist \
|
---|
21 | winbox-interact.js \
|
---|
22 | tabletop*.* \
|
---|
23 | backgrounds \
|
---|
24 | $dst_dir/.
|
---|
25 |
|
---|
26 |
|
---|
27 |
|
---|
28 | rsync -pav tabletop.xsl ../../web/interfaces/default/transform/pages/tabletop.xsl
|
---|
29 |
|
---|
30 | num_lines=`fgrep tabletop.xsl ../../web/interfaces/default/interfaceConfig.xml | wc -l`
|
---|
31 |
|
---|
32 | if [ $num_lines != "1" ] ; then
|
---|
33 | echo ""
|
---|
34 | echo "****"
|
---|
35 | echo "To use Tabletop-DL in Greenstone3 in the default interface,"
|
---|
36 | echo "ensure the following file:"
|
---|
37 | echo ""
|
---|
38 | echo " ../../web/interfaces/default/interfaceConfig.xml"
|
---|
39 | echo ""
|
---|
40 | echo "has a child entry of:"
|
---|
41 | echo ""
|
---|
42 | echo ' <action class="PageAction" name="p">'
|
---|
43 | echo ""
|
---|
44 | echo "includes the line:"
|
---|
45 | echo ""
|
---|
46 | echo ' <subaction name="tabletop" xslt="pages/tabletop.xsl"/>'
|
---|
47 | echo "****"
|
---|
48 | echo ""
|
---|
49 | fi
|
---|
50 |
|
---|
51 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.