Browse Source

fixup DE= value checking

pull/1/head
Ralph Rönnquist 2 months ago
parent
commit
45970507a5
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      script.sh

+ 3
- 1
script.sh View File

@@ -29,7 +29,9 @@ EOF
exit 1
fi

if [ "$DE" != "" ] && [ "$DE" != "desktop" ] ; then
if [ "$DE" != "" ] && [ "$DE" != "desktop" ] && [ "$DE" != "xfce" ] &&
[ "$DE" != "mate" ] && [ "$DE" != "cinnamon" ] &&
[ "$DE" != "kde" ] ; then
cat <<EOF >&2
** DE=$DE migration is not supported; use DE=desktop or empty
EOF


Loading…
Cancel
Save