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.

laptop 265 B

12345678910111213
  1. #!/bin/sh
  2. # Causes a task to be selected if the machine appears to be a laptop.
  3. if [ "$NEW_INSTALL" ]; then
  4. if which laptop-detect >/dev/null 2>&1 && \
  5. laptop-detect; then
  6. exit 2 # mark for install
  7. else
  8. exit 3 # do not mark for install
  9. fi
  10. else
  11. exit 3
  12. fi