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 ** Attachment added: "laptop-mode-tools_1.34-1ubuntu2.debdiff3" http://launchpadlibrarian.net/9260224/laptop-mode-tools_1.34-1ubuntu2.debdiff3 -- laptop-mode init script links not created https://bugs.launchpad.net/bugs/127273 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs