add missing webserver restart
authorElan Ruusamäe <glen@delfi.ee>
Thu, 14 May 2015 13:10:19 +0000 (16:10 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Thu, 14 May 2015 13:10:19 +0000 (16:10 +0300)
php-pecl-solr.spec

index 8fb4a6d..e45dc23 100644 (file)
@@ -117,6 +117,14 @@ EOF
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post
+%php_webserver_restart
+
+%postun
+if [ "$1" = 0 ]; then
+       %php_webserver_restart
+fi
+
 %files
 %defattr(644,root,root,755)
 %doc ChangeLog CREDITS README.SUBMITTING_CONTRIBUTIONS README.MEMORY_ALLOCATION
This page took 0.267198 seconds and 4 git commands to generate.