Changeset 37558 for gs3-extensions


Ignore:
Timestamp:
2023-03-23T13:39:34+13:00 (13 months ago)
Author:
davidb
Message:

xsl file now part of rsync install

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gs3-extensions/tabletop-dl/trunk/RSYNC-INSTALL-TABLETOP-DL.sh

    r37555 r37558  
    11#!/bin/bash
     2
     3dst_dir=../../web/ext/tabletop-dl
     4
     5echo ""
     6echo "****"
     7echo "Rsyncing extension files to: $dst_dir"
     8echo "****"
     9echo ""
    210
    311dst_dir=../../web/ext/tabletop-dl
     
    1422      winbox-with-interactjs-dist \
    1523      $dst_dir/.
     24
     25
     26
     27rsync -pav tabletop.xsl ../../web/interfaces/default/transform/pages/tabletop.xsl
     28
     29num_lines=`fgrep tabletop.xsl ../../web/interfaces/default/interfaceConfig.xml | wc -l`
     30
     31if [ $num_lines != "1" ] ; then
     32    echo ""
     33    echo "****"
     34    echo "To use Tabletop-DL in Greenstone3 in the default interface,"
     35    echo "ensure the following file:"
     36    echo ""
     37    echo "    ../../web/interfaces/default/transform/pages/tabletop.xsl"
     38    echo ""
     39    echo "as a child entry of:"
     40    echo ""
     41    echo '    <action class="PageAction" name="p">'
     42    echo ""
     43    echo "includes the line:"
     44    echo ""
     45    echo '      <subaction name="tabletop" xslt="pages/tabletop.xsl"/>'
     46    echo "****"
     47    echo ""
     48fi
     49   
     50
Note: See TracChangeset for help on using the changeset viewer.