Ignore:
Timestamp:
05/08/13 15:27:52 (8 years ago)
Author:
davidb
Message:

Changes after testing on the jamendo set

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gs2-extensions/afrepo/trunk/src/src/CASCADE-MAKE.sh

    r27287 r27317  
    3636
    3737echo ""
    38 echo "What about Override apache settings ?????"
    39 echo "****** Test to see if 'audiofiles' exists => generate message if not? ==> auto run cmd ???"
     38echo "****** Test to see if 'audio-files' exists => generate message if not? ==> auto run cmd ???"
    4039
     40./INSTALL-PHP.sh
    4141
    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"
    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.