Commit 2f9519e6 authored by Thomas Gambier's avatar Thomas Gambier 🚴🏼

[nayuos] fix crew function

parent d91e46d5
......@@ -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 = 5227b64852644d9874e3f67254f243ef
md5sum = 5b00c5a841fdef28d8d8e373ea5c4e3b
mode = 0700
context =
key bash_path bin:bash
......
......@@ -276,7 +276,7 @@ crew() {
if [[ ! -x /usr/local/bin/crew ]] ; then
read -p "Chromebrew is not on this machine; do you want to install it? [Y/n] " -r -n 1 crew_install
echo ""
if [[ ! $crew_install =~ ^[Nn]$ ]] ; then
if [[ ! \$crew_install =~ ^[Nn]$ ]] ; then
echo "Fetching installation file..."
curl -Ls https://lab.nexedi.com/nexedi/chromebrew/raw/nexedi/install.sh | bash
else
......
......@@ -26,7 +26,7 @@ recipe = slapos.recipe.template:jinja2
template = ${:_profile_base_location_}/instance.cfg
rendered = ${buildout:directory}/instance.cfg
mode = 0644
md5sum = 462a8632f90a121029a90785a62841c4
md5sum = 8a8af23968a57af9a3c82fc11e7bd193
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