Last change
on this file since 27340 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:
810 bytes
|
Line | |
---|
1 | #!/bin/sh
|
---|
2 |
|
---|
3 |
|
---|
4 | source $GEXT_AFREPO/AFR-SETUP.sh
|
---|
5 |
|
---|
6 |
|
---|
7 | has_afrepo_conf=`egrep "^Include conf/httpd-afrepo.conf" "$GEXTAMP_INSTALLED/conf/httpd.conf"`
|
---|
8 |
|
---|
9 | if [ "x$has_afrepo_conf" = "x" ] ; then
|
---|
10 | # Not currently in file => append it
|
---|
11 |
|
---|
12 | echo ""
|
---|
13 | echo "** Appending 'httpd-afrepo.conf' to main Apache config file"
|
---|
14 | echo "Include conf/httpd-afrepo.conf" >> "$GEXTAMP_INSTALLED/conf/httpd.conf"
|
---|
15 | fi
|
---|
16 |
|
---|
17 | cat "httpd-afrepo.conf.in" \
|
---|
18 | | sed "s%@4store-http-prefix@%$protocol://$hostname:$f4store_port%g" > "$GEXTAMP_INSTALLED/conf/httpd-afrepo.conf"
|
---|
19 |
|
---|
20 |
|
---|
21 | echo ""
|
---|
22 | echo "** Regenerating AFRepo.class.php"
|
---|
23 | cat "AFRepo.GSDLEXT.class.php.in" \
|
---|
24 | | sed "s%@afrepo-http-prefix@%$protocol://$hostname:$port%g" \
|
---|
25 | | sed "s%@4store-http-prefix@%$protocol://$hostname:$f4store_port%g" > "$GEXTAMP_INSTALLED/htdocs/afrepo/AFRepo.class.php"
|
---|
26 |
|
---|
27 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.