[Groonga-commit] groonga/groonga [master] rpm fedora: reload systemd conf file with install/upgrade time

Back to archive index

HAYASHI Kentaro null+****@clear*****
Thu Sep 6 19:11:50 JST 2012


HAYASHI Kentaro	2012-09-06 19:11:50 +0900 (Thu, 06 Sep 2012)

  New Revision: 55a10a68c3430a597c7f59b0bcedc4d0c4ac12f8
  https://github.com/groonga/groonga/commit/55a10a68c3430a597c7f59b0bcedc4d0c4ac12f8

  Log:
    rpm fedora: reload systemd conf file with install/upgrade time

  Modified files:
    packages/rpm/fedora/groonga.spec.in

  Modified: packages/rpm/fedora/groonga.spec.in (+3 -6)
===================================================================
--- packages/rpm/fedora/groonga.spec.in    2012-09-06 18:43:33 +0900 (8bb0167)
+++ packages/rpm/fedora/groonga.spec.in    2012-09-06 19:11:50 +0900 (c7d684a)
@@ -233,14 +233,11 @@ fi
 exit 0
 
 %post server
-if [ $1 = 1 ] ; then
-	/bin/systemctl daemon-reload >/dev/null 2>&1 || :
-fi
+/bin/systemctl daemon-reload >/dev/null 2>&1 || :
 
 %post httpd
-if [ $1 = 1 ] ; then
-	/bin/systemctl daemon-reload >/dev/null 2>&1 || :
-elif [ $1 = 2 ]; then
+/bin/systemctl daemon-reload >/dev/null 2>&1 || :
+if [ $1 = 2 ]; then
 	%{_sbindir}/groonga-httpd-restart
 fi
 
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index