YUKI Hiroshi
null+****@clear*****
Thu Sep 18 16:02:45 JST 2014
YUKI Hiroshi 2014-09-18 16:02:45 +0900 (Thu, 18 Sep 2014) New Revision: b4cb990869995d1c66d01196fb2ff5f1c8bbd537 https://github.com/droonga/droonga-engine/commit/b4cb990869995d1c66d01196fb2ff5f1c8bbd537 Message: Use droonga-engine-configure to initialize configuration files Modified files: install.sh Modified: install.sh (+2 -12) =================================================================== --- install.sh 2014-09-18 16:02:04 +0900 (226e20f) +++ install.sh 2014-09-18 16:02:45 +0900 (b304d2d) @@ -93,18 +93,8 @@ setup_configuration_directory() { echo "This node is configured with a hostname $HOST." fi - [ ! -e $DROONGA_BASE_DIR/catalog.json ] && - droonga-engine-catalog-generate --hosts=$HOST \ - --output=$DROONGA_BASE_DIR/catalog.json - - config_file="$DROONGA_BASE_DIR/$NAME.yaml" - if [ ! -e $config_file ]; then - curl -o $config_file.template $SCRIPT_URL/$PLATFORM/$NAME.yaml - cat $config_file.template | \ - $sed -e "s/\\\$hostname/$HOST/" \ - > $config_file - rm $config_file.template - fi + droonga-engine-configure --quiet \ + --host=$HOST chown -R $USER.$USER $DROONGA_BASE_DIR } -------------- next part -------------- HTML����������������������������... Download