Browse Source

fixup DE= value checking

pull/1/head
Ralph Rönnquist 1 year ago
parent
commit
45970507a5
  1. 4
      script.sh

4
script.sh

@ -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