Ignore:
Timestamp:
2022-12-20T18:19:41+13:00 (6 months ago)
Author:
davidb
Message:

Tweaks after testing

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gs3-extensions/structured-image/trunk/src/INSTALL-MIRADOR.sh

    r37042 r37043  
    11#!/bin/bash
    22
    3 if [! -d $GSDL3HOME/structured-image/ ] ; then
     3if [ ! -d "$GSDL3HOME/ext/structured-image/" ] ; then
    44    echo ""
    55    echo "Creating directory:"
    6     echo "    $GSDL3HOME/structured-image"
     6    echo "    $GSDL3HOME/ext/structured-image"
    77    echo ""
     8    mkdir "$GSDL3HOME/ext/structured-image"
    89fi
    910   
    10 if [ -d $GSDL3HOME/structured-image/mirador3 ] ; then
     11if [ -d "$GSDL3HOME/ext/structured-image/mirador3" ] ; then
    1112    echo ""
    1213    echo "Removing previous installation:"
    13     echo "    $GSDL3HOME/structured-image/mirador3"
     14    echo "    $GSDL3HOME/ext/structured-image/mirador3"
    1415
    15     /bin/rm -rf $GSDL3HOME/structured-image/mirador3
     16    /bin/rm -rf "$GSDL3HOME/ext/structured-image/mirador3"
    1617fi
    1718
    1819echo ""
    1920echo "Installing webpack JS library for gs-annotations to:"
    20 echo "    $GSDL3HOME/structured-image/mirador3"
     21echo "    $GSDL3HOME/ext/structured-image/mirador3"
    2122
    22 mkdir $GSDL3HOME/structured-image/mirador3
     23mkdir "$GSDL3HOME/ext/structured-image/mirador3"
    2324
    24 cp -r mirador-integration-annotation/webpack/dist-gs-annotations $GSDL3HOME/structured-image/mirador3/dist
     25cp -r mirador-integration-annotations-gitfork/webpack/dist-gs-annotations "$GSDL3HOME/ext/structured-image/mirador3/dist"
    2526
    2627echo ""
Note: See TracChangeset for help on using the changeset viewer.