Package: tasksel Severity: wishlist Tags: patch Attached is a patch which adds an acpi task. This task is installed automatically if ACPI support is available. It is never shown to the user. Is this the proper way to make sure that ACPI support is installed or is this task perhaps too small?
-- Pelle
Index: tests/acpi =================================================================== --- tests/acpi (revision 0) +++ tests/acpi (revision 0) @@ -0,0 +1,7 @@ +#!/bin/sh +# Install ACPI packages automatically if ACPI is available +if [ -d /proc/acpi ]; then + exit 0 # install without display +else + exit 1 # do not display +fi Property changes on: tests/acpi ___________________________________________________________________ Name: svn:executable + * Index: tasks/acpi =================================================================== --- tasks/acpi (revision 0) +++ tasks/acpi (revision 0) @@ -0,0 +1,8 @@ +Task: acpi +Test-acpi: available +Section: user +Description: ACPI support + This task contains packages for ACPI support. +Packages: + acpi + acpid