Changeset 1994

Show
Ignore:
Timestamp:
10/05/07 16:31:05 (1 year ago)
Author:
pierre-gilles
Message:

Suppress an usueless restart of apache in dopo.sh
This chek is althought apache 1.3 dependent.

Modify the check before enabling the modules for apache2. Now it show be possible to perform an aptitude install apache2 php5 alternc ...

I hope :)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • alternc/trunk/install/alternc.install

    r1951 r1994  
    193193    SERVICES="$SERVICES apache apache-ssl" 
    194194fi 
    195 if [ -x /usr/sbin/apache2 ] 
     195if [ -x /usr/sbin/apache2 ] &&  ! ( [ -L /etc/apache2/mods-enabled/vhost_alias.load ] && [ -L /etc/apache2/mods-enabled/$php.load ] ) 
    196196then 
    197197    a2enmod vhost_alias 
  • alternc/trunk/install/dopo.sh

    r1021 r1994  
    4040 
    4141# Relance les apache pour qu'ils vident leur cache GetText 
    42 invoke-rc.d apache restart 
    43 invoke-rc.d apache-ssl restart 
     42# invoke-rc.d apache restart 
     43# invoke-rc.d apache-ssl restart 
    4444 
    4545exit 0