From 7f24875a260038ee891f56b4682b1bb15660042a Mon Sep 17 00:00:00 2001 From: Jan-Tarek Butt Date: Mon, 25 Feb 2019 11:49:02 +0100 Subject: [PATCH] gluon-hoodselector: check_site.lua: replace hood with domain Signed-off-by: Jan-Tarek Butt --- package/gluon-hoodselector/check_site.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/package/gluon-hoodselector/check_site.lua b/package/gluon-hoodselector/check_site.lua index 4b35ac7a..6396a67d 100644 --- a/package/gluon-hoodselector/check_site.lua +++ b/package/gluon-hoodselector/check_site.lua @@ -4,11 +4,11 @@ function need_nil(path) return true end return false - end, true, "default hood should not contain shapes") + end, true, "The default domain should not contain shapes") return nil end ---Need to check if not default hood and does the default not contain shapes +--Need to check if not default domain and does the default not contain shapes if this_domain() ~= need_string(in_site({'default_domain'})) then local no_shapes = true for _,shape in ipairs(need_table(in_domain({'hoodselector', 'shapes'}))) do @@ -28,8 +28,8 @@ if this_domain() ~= need_string(in_site({'default_domain'})) then end end if no_shapes then - need(in_domain({'hoodselector', 'shapes'}), function(err) return false end, true, "no shapes are defined in hoods") + need(in_domain({'hoodselector', 'shapes'}), function(err) return false end, true, "no shapes are defined in domainss") end -else -- ente by default hood +else -- ente by default domain need_nil(in_domain({'hoodselector', 'shapes'})) end