[Groonga-commit] groonga/gcs [master] Delete the example domain before creating

Back to archive index

null+****@clear***** null+****@clear*****
2012年 7月 25日 (水) 15:07:05 JST


Yoji SHIDARA	2012-07-25 15:07:05 +0900 (Wed, 25 Jul 2012)

  New Revision: 92c19f771255e199024ae6a459813f2e97e44daf
  https://github.com/groonga/gcs/commit/92c19f771255e199024ae6a459813f2e97e44daf

  Log:
    Delete the example domain before creating

  Modified files:
    bin/gcs-import-examples

  Modified: bin/gcs-import-examples (+5 -0)
===================================================================
--- bin/gcs-import-examples    2012-07-25 14:58:49 +0900 (6cb325d)
+++ bin/gcs-import-examples    2012-07-25 15:07:05 +0900 (98e777d)
@@ -46,6 +46,11 @@ EOT
 read enter
 
 
+
+echo "==== Deleting 'example' domain (if exists)"
+curl -s "http://localhost:7575/?DomainName=example&Action=DeleteDomain&Version=2011-02-01" > /dev/null
+echo
+
 echo "==== Creating 'example' domain"
 
 curl -s "http://localhost:7575/?DomainName=example&Action=CreateDomain&Version=2011-02-01"
-------------- next part --------------
HTML$B$NE:IU%U%!%$%k$rJ]4I$7$^$7$?(B...
Download 



Groonga-commit メーリングリストの案内
Back to archive index