]> git.pld-linux.org Git - packages/php-pecl-gearman.git/commitdiff
add restart hooks auto/th/php-pecl-gearman-1.1.2-1
authorElan Ruusamäe <glen@delfi.ee>
Wed, 27 Jan 2016 20:51:14 +0000 (22:51 +0200)
committerElan Ruusamäe <glen@delfi.ee>
Wed, 27 Jan 2016 20:51:14 +0000 (22:51 +0200)
php-pecl-gearman.spec

index 6f202a6bbe431a2d0b91643f60d24e6b9770d0bf..680582d44d26dc715f004a45048c4923303d67bf 100644 (file)
@@ -73,6 +73,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 README CREDITS LICENSE ChangeLog
This page took 0.060316 seconds and 4 git commands to generate.