/[drupal]/contributions/profiles/hostmaster/install.sh.txt
ViewVC logotype

Diff of /contributions/profiles/hostmaster/install.sh.txt

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.21, Thu Nov 12 17:06:36 2009 UTC revision 1.22, Thu Nov 12 18:35:39 2009 UTC
# Line 1  Line 1 
1  #! /bin/sh  #! /bin/sh
2    
3  # $Id: install.sh.txt,v 1.20 2009/11/12 03:20:46 anarcat Exp $  # $Id: install.sh.txt,v 1.21 2009/11/12 17:06:36 anarcat Exp $
4    
5  ########################################################################  ########################################################################
6  # Aegir quick install script  # Aegir quick install script
# Line 185  if ! [ -e $HOSTMASTER_DIR ] ; then Line 185  if ! [ -e $HOSTMASTER_DIR ] ; then
185  fi  fi
186    
187  if ! [ -e $AEGIR_HOME/config/vhost.d/$AEGIR_DOMAIN ]; then  if ! [ -e $AEGIR_HOME/config/vhost.d/$AEGIR_DOMAIN ]; then
188          sed -e "s#DocumentRoot .*#DocumentRoot $HOSTMASTER_DIR#" -e "s/ServerName .*/ServerName $AEGIR_DOMAIN/" $HOSTMASTER_DIR/profiles/hostmaster/apache2.conf.txt > $AEGIR_HOME/config/vhost.d/$AEGIR_DOMAIN          sed -e "s#DocumentRoot .*#DocumentRoot $HOSTMASTER_DIR#" -e "s#Directory .*#Directory $HOSTMASTER_DIR#" -e "s/ServerName .*/ServerName $AEGIR_DOMAIN/" $HOSTMASTER_DIR/profiles/hostmaster/apache2.conf.txt > $AEGIR_HOME/config/vhost.d/$AEGIR_DOMAIN
189          msg "Installed apache configuration file for $AEGIR_DOMAIN, you will need to restart apache"          msg "Installed apache configuration file for $AEGIR_DOMAIN, you will need to restart apache"
190  fi  fi
191    

Legend:
Removed from v.1.21  
changed lines
  Added in v.1.22

  ViewVC Help
Powered by ViewVC 1.1.2