Changeset 27317 for gs2-extensions/afrepo/trunk/src/src/CASCADE-MAKE.sh
- Timestamp:
- 2013-05-08T15:27:52+12:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gs2-extensions/afrepo/trunk/src/src/CASCADE-MAKE.sh
r27287 r27317 36 36 37 37 echo "" 38 echo "What about Override apache settings ?????" 39 echo "****** Test to see if 'audiofiles' exists => generate message if not? ==> auto run cmd ???" 38 echo "****** Test to see if 'audio-files' exists => generate message if not? ==> auto run cmd ???" 40 39 40 ./INSTALL-PHP.sh 41 41 42 protocol=http43 hostname=`hostname`44 port=`egrep "^Listen" $GEXTAMP_INSTALLED/conf/httpd.conf | awk '{print $2}'`45 46 f4store_port=`echo $port+1 | bc`47 48 has_afrepo_conf=`egrep "^Include conf/httpd-afrepo.conf" "$GEXTAMP_INSTALLED/conf/httpd.conf"`49 50 if [ "x$has_afrepo_conf" = "x" ] ; then51 # Not currently in file => append it52 53 echo "Include conf/httpd-afrepo.conf" >> "$GEXTAMP_INSTALLED/conf/httpd.conf"54 fi55 56 cat "httpd-afrepo.conf.in" \57 | sed "s%@4store-http-prefix@%$protocol://$hostname:$f4store_port%g" > "$GEXTAMP_INSTALLED/conf/httpd-afrepo.conf"58 59 60 cat "AFRepo.GSDLEXT.class.php.in" \61 | sed "s%@afrepo-http-prefix@%$protocol://$hostname:$port%g" \62 | sed "s%@4store-http-prefix@%$protocol://$hostname:$f4store_port%g" > "$GEXTAMP_INSTALLED/htdocs/afrepo/AFRepo.class.php"63 64 cat DONE.txt \65 | sed "s%@GEXTAMP_INSTALLED@%$GEXTAMP_INSTALLED%g" \66 | sed "s%@4store-port@%$f4store_port%g" \67 | sed "s%@afrepo-http-prefix@%$protocol://$hostname:$port%g"68
Note:
See TracChangeset
for help on using the changeset viewer.