[Groonga-commit] droonga/droonga-engine at d86a419 [master] Use variable $NAME instead of a literal for the service name

Back to archive index

YUKI Hiroshi null+****@clear*****
Tue Sep 16 12:39:38 JST 2014


YUKI Hiroshi	2014-09-16 12:39:38 +0900 (Tue, 16 Sep 2014)

  New Revision: d86a419a56671b767194f4c242cb2abcaaac48fb
  https://github.com/droonga/droonga-engine/commit/d86a419a56671b767194f4c242cb2abcaaac48fb

  Message:
    Use variable $NAME instead of a literal for the service name

  Modified files:
    install.sh

  Modified: install.sh (+3 -3)
===================================================================
--- install.sh    2014-09-16 12:31:25 +0900 (6b2cceb)
+++ install.sh    2014-09-16 12:39:38 +0900 (7cab920)
@@ -205,7 +205,7 @@ install_in_debian() {
   setup_configuration_directory debian
 
   echo ""
-  echo "Registering droogna-engine as a service..."
+  echo "Registering $NAME as a service..."
   install_service_script /etc/init.d/$NAME debian
   update-rc.d $NAME defaults
 }
@@ -231,7 +231,7 @@ install_in_centos() {
   setup_configuration_directory centos
 
   echo ""
-  echo "Registering droogna-engine as a service..."
+  echo "Registering $NAME as a service..."
   install_service_script /etc/rc.d/init.d/$NAME centos
   /sbin/chkconfig --add $NAME
 }
@@ -246,5 +246,5 @@ else
 fi
 
 echo ""
-echo "Successfully installed."
+echo "Successfully installed $NAME."
 exit 0
-------------- next part --------------
HTML����������������������������...
Download 



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