Changeset 27287 for gs2-extensions/afrepo/trunk
- Timestamp:
- 2013-05-02T16:28:29+12:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gs2-extensions/afrepo/trunk/src/src/CASCADE-MAKE.sh
r27266 r27287 39 39 echo "****** Test to see if 'audiofiles' exists => generate message if not? ==> auto run cmd ???" 40 40 41 /bin/cp $srcdir/examples/afrepo/AFRepo.localtest.class.php $GEXTAMP_INSTALLED/htdocs/afrepo/AFRepo.class.php 41 42 protocol=http 43 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" ] ; then 51 # Not currently in file => append it 52 53 echo "Include conf/httpd-afrepo.conf" >> "$GEXTAMP_INSTALLED/conf/httpd.conf" 54 fi 55 56 cat "httpd-afrepo.conf.in" \ 57 | sed "s%@4store-http-prefix@%$protocol://$hostname:$f4store_port%g" > "$GEXTAMP_INSTALLED/conf/httpd-afrepo.conf" 42 58 43 59 44 echo "" 45 echo "****" 46 echo "* Afrepo extension now installed in " 47 echo "* $GEXTAMP_INSTALLED" 48 echo "*" 49 echo "* Place audio files in: " 50 echo "* $GEXTAMP_INSTALLED/htdocs/afrepo/localtest" 51 echo "*" 52 echo "* Run: " 53 echo "* makelinks" 54 echo "* to populate:" 55 echo "* $GEXTAMP_INSTALLED/htdocs/afrepo/audio" 56 echo "*" 57 echo "* Finall, run: " 58 echo "* apchectl start" 59 echo "*" 60 echo "* And in a web browser load up the URL:" 61 echo "* http://localhost:8282/afrepo/" 62 echo "****" 63 echo "" 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.