fixes to init script

This commit is contained in:
ruby
2017-05-09 15:11:28 +02:00
parent 61c5624b16
commit c53d34191a

View File

@@ -1,7 +1,7 @@
#! /bin/bash
ruby_command="ruby"
rake_command="rake"
bundler_command="bundler"
bundler_command="bundle"
# Are the necessary programs installed?
command -v $ruby_command >/dev/null 2>&1 || { echo >&2 "The given ruby command does not exist. Please change the command or install ruby"; exit 1; }
@@ -34,7 +34,7 @@ if [ ! -f config/start_topic.yml ]; then
echo "1" > config/start_topic.yml
fi
# Generate fetadmin user "admin@fet.at", password: 12345678
touch config/crawl_config.yml