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
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) laptop- mode-tools. preinst: remove any old acpi scripts laptop- mode-tools. postinst: Include update-rc.d (LP: #127273)
(This change got lost in the last merge)
* debian/
* debian/
(Debian generates the .postinst from dh_makeinit)
* debian/rules: use rm -f to avoid missing-file message