source: gs2-extensions/diva/trunk/src/packages/cmdline/CASCADE-MAKE/WEBAPP.sh@ 30202

Last change on this file since 30202 was 30202, checked in by davidb, 9 years ago

Zach's image viewer extension for Greenstone using diva from McGill University

File size: 528 bytes
Line 
1#!/bin/bash
2
3package=iipsr
4version=v
5
6progname=$0
7
8source ../../bin/script/test-setup.bash
9source ../../lib/cascade-lib.bash
10
11prefix=$GEXTDIVA_INSTALLED/cmdline
12
13opt_run_untar $force_untar $auto_untar $package $version
14
15WEBAPPS="$prefix/../../../../../packages/tomcat/webapps"
16
17if [ $install = "1" ] ; then
18 /bin/cp -rf "$package" "$WEBAPPS"
19fi
20
21if [ $clean = "1" ] || [ $distclean = "1" ] ; then
22 if [ -d "$WEBAPPS/$package" ] ; then
23 /bin/rm -rf "$WEBAPPS/$package";
24 fi
25fi
26
27opt_run_tarclean $tarclean $package $version
Note: See TracBrowser for help on using the repository browser.