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.
 
 
 

19 lines
419 B

  1. #!/bin/sh
  2. # Choose which desktop environment should be installed to enhance the desktop
  3. # task. tasksel/desktop can be preseeded to select which to install.
  4. set -e
  5. # Avoid starting debconf if not being used to test which enhancing task to
  6. # install.
  7. if [ ! "$TESTING_ENHANCER" ]; then
  8. exit 1
  9. fi
  10. . /usr/share/debconf/confmodule
  11. if db_get "tasksel/desktop" && echo "$RET" | grep -q "$2"; then
  12. exit 0
  13. else
  14. exit 1
  15. fi