Changeset 27680
- Timestamp:
- 2013-06-21T00:19:46+12:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gs2-extensions/afrepo/trunk/src/src/INSTALL-PHP.sh
r27340 r27680 15 15 fi 16 16 17 echo "" 18 echo "** Regnerating httpd-afrepo.conf" 17 19 cat "httpd-afrepo.conf.in" \ 18 | sed "s%@4store-http-prefix@%$protocol://$hostname:$f4store_port%g" > "$GEXTAMP_INSTALLED/conf/httpd-afrepo.conf" 20 | sed "s%@4store-http-prefix@%$protocol://$f4store_hostname:$f4store_port%g" > "$GEXTAMP_INSTALLED/conf/httpd-afrepo.conf" 21 22 23 public_facing_url="$protocol://$public_facing_hostname" 24 25 if [ "x$public_facing_port" != "x" ] ; then 26 public_facing_url="$public_facing_url:$public_facing_port" 27 fi 28 29 if [ "x$public_facing_url_prefix" != "x" ] ; then 30 public_facing_url="$public_facing_url$public_facing_url_prefix" 31 fi 32 33 public_facing_url="$public_facing_url/" 34 35 36 37 public_facing_f4store_url="$protocol://$public_facing_f4store_hostname" 38 39 if [ "x$public_facing_f4store_port" != "x" ] ; then 40 public_facing_f4store_url="$public_facing_f4store_url:$public_facing_f4store_port" 41 fi 42 43 if [ "x$public_facing_f4store_url_prefix" != "x" ] ; then 44 public_facing_f4store_url="$public_facing_f4store_url$public_facing_f4store_url_prefix" 45 fi 46 47 public_facing_f4store_url="$public_facing_f4store_url/" 19 48 20 49 … … 23 52 cat "AFRepo.GSDLEXT.class.php.in" \ 24 53 | 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" 54 | sed "s%@4store-http-prefix@%$protocol://$f4store_hostname:$f4store_port%g" \ 55 | sed "s%@public-facing-afrepo-http-prefix@%$public_facing_url%g" \ 56 | sed "s%@public-facing-4store-http-prefix@%$public_facing_f4store_url%g" \ 57 > "$GEXTAMP_INSTALLED/htdocs/afrepo/AFRepo.class.php" 26 58 27 59 60 61 echo "" 62 echo "** Copying static HTML content (images, CSS etc) to htdocs/afrepo" 63 /bin/cp -r html/* "$GEXTAMP_INSTALLED/htdocs/afrepo/."
Note:
See TracChangeset
for help on using the changeset viewer.