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.
 
 
 

13 lines
222 B

  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 laptop-detect; then
  5. exit 2 # mark for install
  6. else
  7. exit 3 # do not mark for install
  8. fi
  9. else
  10. exit 3
  11. fi