source: gs2-extensions/afrepo/trunk/src/src/CASCADE-MAKE.sh@ 27317

Last change on this file since 27317 was 27317, checked in by davidb, 11 years ago

Changes after testing on the jamendo set

  • Property svn:executable set to *
File size: 887 bytes
RevLine 
[27262]1#!/bin/sh
2
3package=afrepo
4version=-git-all-april2013
5
6srcdir=$package$version
7
[27266]8if [ ! -d "$srcdir" ] ; then
9 tar xvzf $srcdir.tar.gz
10fi
11
[27262]12echo ""
13echo "+ Testing for existing Greenstone extensions for AMP and echoprint"
14
15if [ "x$GEXTAMP" = "x" ] ; then
16 echo ""
17 echo "Error: Failed to find PHP-configured Apache httpd (GEXTAMP) extension"
18 echo ""
19else
20 echo "++ Found GEXTAMP: $GEXTAMP"
21fi
22
23if [ "x$GEXT_ECHOPRINT" = "x" ] ; then
24 echo ""
25 echo "Error: Failed to find GEXT_ECHOPRINT extension"
26 echo ""
27else
28 echo "++ Found GEXT_ECHOPRINT: $GEXT_ECHOPRINT"
29fi
30
[27264]31if [ ! -h $GEXTAMP_INSTALLED/htdocs/afrepo ] ; then
[27262]32 echo "++ Creating symbolic link GEXTAMP_INSTALLED/htdocs/afrepo -> $srcdir"
[27264]33 ln -s `pwd`/$srcdir $GEXTAMP_INSTALLED/htdocs/afrepo
[27262]34fi
35
36
37echo ""
[27317]38echo "****** Test to see if 'audio-files' exists => generate message if not? ==> auto run cmd ???"
[27262]39
[27317]40./INSTALL-PHP.sh
[27264]41
Note: See TracBrowser for help on using the repository browser.