Commit b0c3f086 authored by Lorenzo Martinico's avatar Lorenzo Martinico

Fix crew checking bug

parent 896cfaf1
......@@ -99,7 +99,7 @@ context =
recipe = slapos.recipe.template:jinja2
template = {{ software_dir }}/scripts/cros_full_build.in
rendered = ${directory:run}/cros_full_build
md5sum = 9d8acdfbbe6a16e13867827e36e8e236
md5sum = 3b553e2f5800eb421f89723ede00c6ef
mode = 0700
context =
key bash_path bin:bash
......
......@@ -278,7 +278,7 @@ crew() {
if [[ -x "$(command -v crew)" ]] ; then
read -p "Chromebrew is not on this machine; do you want to install it? [Y/n] " -r -n 1 crew_install
echo "Fetching installation file..."
if [[ ! $REPLY =~ ^[Nn]$ ]] ; then
if [[ ! $crew_install =~ ^[Nn]$ ]] ; then
curl -Ls git.io/vddgY | bash
else
return 1
......
......@@ -26,7 +26,7 @@ recipe = slapos.recipe.template:jinja2
template = ${:_profile_base_location_}/instance.cfg
rendered = ${buildout:directory}/instance.cfg
mode = 0644
md5sum = dc6878488ece00dff3275d83db5b4c3a
md5sum = 7cbc3e35d5228680611aaa61ae1b5cde
context =
key software_dir :_profile_base_location_
key instance_dir buildout:directory
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment