Commit cdc4c7dd authored by udeved's avatar udeved
Browse files

[util-iso-image] move the test for balid DE in a function

parent e009a7fb
......@@ -139,12 +139,11 @@ set_xdm(){
is_valid_de(){
local func=$1
if [[ ${default_desktop_executable} != "none" ]] && \
[[ ${default_desktop_file} != "none" ]]; then
return 0
[[ ${default_desktop_file} != "none" ]]; then
return 0
else
return 1
fi
}
set_sddm_ck(){
......
Supports Markdown
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