Last change
on this file since 27616 was 27340, checked in by davidb, 11 years ago |
Changes to compile/install scripts that reflect the change in having a bin/script folder for the extension
|
-
Property svn:executable
set to
*
|
File size:
916 bytes
|
Line | |
---|
1 | #!/bin/sh
|
---|
2 |
|
---|
3 | package=afrepo
|
---|
4 | version=-git-all-april2013
|
---|
5 |
|
---|
6 | srcdir=$package$version
|
---|
7 |
|
---|
8 | if [ ! -d "$srcdir" ] ; then
|
---|
9 | tar xvzf $srcdir.tar.gz
|
---|
10 | fi
|
---|
11 |
|
---|
12 | echo ""
|
---|
13 | echo "+ Testing for existing Greenstone extensions for AMP and echoprint"
|
---|
14 |
|
---|
15 | if [ "x$GEXTAMP" = "x" ] ; then
|
---|
16 | echo ""
|
---|
17 | echo "Error: Failed to find PHP-configured Apache httpd (GEXTAMP) extension"
|
---|
18 | echo ""
|
---|
19 | else
|
---|
20 | echo "++ Found GEXTAMP: $GEXTAMP"
|
---|
21 | fi
|
---|
22 |
|
---|
23 | if [ "x$GEXT_ECHOPRINT" = "x" ] ; then
|
---|
24 | echo ""
|
---|
25 | echo "Error: Failed to find GEXT_ECHOPRINT extension"
|
---|
26 | echo ""
|
---|
27 | else
|
---|
28 | echo "++ Found GEXT_ECHOPRINT: $GEXT_ECHOPRINT"
|
---|
29 | fi
|
---|
30 |
|
---|
31 | if [ ! -h $GEXTAMP_INSTALLED/htdocs/afrepo ] ; then
|
---|
32 | echo "++ Creating symbolic link GEXTAMP_INSTALLED/htdocs/afrepo -> $srcdir"
|
---|
33 | ln -s `pwd`/$srcdir $GEXTAMP_INSTALLED/htdocs/afrepo
|
---|
34 | fi
|
---|
35 |
|
---|
36 |
|
---|
37 | echo ""
|
---|
38 | echo "****** Test to see if 'audio-files' exists => generate message if not? ==> auto run cmd ???"
|
---|
39 |
|
---|
40 | ./INSTALL-PHP.sh
|
---|
41 |
|
---|
42 |
|
---|
43 | $GEXT_AFREPO/AFR-README.sh
|
---|
44 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.