Changeset 2330

Show
Ignore:
Timestamp:
10/07/08 18:10:59 (1 month ago)
Author:
anarcat
Message:

restart the proper apache in locale regeneration script

Files:

Legend:

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

    r1996 r2330  
    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 
     42if [ -x /usr/sbin/apache ]; then 
     43    invoke-rc.d apache restart 
     44    invoke-rc.d apache-ssl restart 
     45fi 
     46if [ -x /usr/sbin/apache2 ]; then 
     47    invoke-rc.d apache2 restart 
     48fi 
    4449 
    4550exit 0