Skip to content
Snippets Groups Projects
Commit cdc4c7dd authored by udeved's avatar udeved
Browse files

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

parent e009a7fb
No related branches found
Tags 0.9.11
No related merge requests found
......@@ -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(){
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment