You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

17 lines
190 B

  1. #!/bin/sh
  2. if ! [ "$NEW_INSTALL" ]; then
  3. exit 3
  4. fi
  5. /usr/lib/tasksel/tests/desktop
  6. ret=$?
  7. case $ret in
  8. 0|2) # is desktop
  9. exit 3 # not server
  10. ;;
  11. *)
  12. exit 2 # likely is server
  13. ;;
  14. esac