From: Elan Ruusamäe Date: Sun, 12 Nov 2006 16:47:12 +0000 (+0000) Subject: - there's no main package X-Git-Tag: auto/th/php-5_2_0-0_20~24 X-Git-Url: http://git.pld-linux.org/?a=commitdiff_plain;h=a5d5794de8aecec2394e30bc3981e3e9e8413ad4;p=packages%2Fphp.git - there's no main package Changed files: php.spec -> 1.607 --- diff --git a/php.spec b/php.spec index ef8eca0..2227143 100644 --- a/php.spec +++ b/php.spec @@ -1843,26 +1843,6 @@ install -D ext/pcre/php_pcre.h $RPM_BUILD_ROOT%{_includedir}/php/ext/pcre/php_pc %clean rm -rf $RPM_BUILD_ROOT -%post -if [ "$1" = "1" ]; then -%if %{with apache1} - %service -q apache restart -%endif -%if %{with apache2} - %service -q httpd restart -%endif -fi - -%postun -if [ "$1" = "0" ]; then -%if %{with apache1} - %service -q apache restart -%endif -%if %{with apache2} - %service -q httpd restart -%endif -fi - %post -n apache1-mod_php if [ "$1" = "1" ]; then %service -q apache restart