From d7ad37bc9eff0591447693c0ae247d58f4adb10f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antoine=20Beaupr=C3=A9?= Date: Tue, 7 Oct 2008 16:10:59 +0000 Subject: [PATCH] restart the proper apache in locale regeneration script --- install/dopo.sh | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/install/dopo.sh b/install/dopo.sh index a5cd64ef..a79e142e 100755 --- a/install/dopo.sh +++ b/install/dopo.sh @@ -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 -invoke-rc.d apache restart -invoke-rc.d apache-ssl restart +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