Comment 6 for bug 127273

Revision history for this message
Tormod Volden (tormodvolden) wrote :

I changed it to rather remove the files in a preinst. Now there are no complaints and the empty directory is gone too.

  * debian/rules: Don't ship acpi scripts (we handle that ourselves)
    (This change got lost in the last merge)
  * debian/laptop-mode-tools.preinst: remove any old acpi scripts
  * debian/laptop-mode-tools.postinst: Include update-rc.d (LP: #127273)
    (Debian generates the .postinst from dh_makeinit)
  * debian/rules: use rm -f to avoid missing-file message