restart the proper apache in locale regeneration script

This commit is contained in:
Antoine Beaupré 2008-10-07 16:10:59 +00:00
parent a45cf12900
commit d7ad37bc9e
1 changed files with 7 additions and 2 deletions

View File

@ -39,7 +39,12 @@ dolangs() {
find /var/alternc/bureau/locales -maxdepth 1 -mindepth 1 -type d -name "*_*" | dolangs
# Relance les apache pour qu'ils vident leur cache GetText
if [ -x /usr/sbin/apache ]; then
invoke-rc.d apache restart
invoke-rc.d apache-ssl restart
fi
if [ -x /usr/sbin/apache2 ]; then
invoke-rc.d apache2 restart
fi
exit 0