use #DEBHELPER# in postinst
Bug #226788 reported by
Tormod Volden
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
laptop-mode-tools (Ubuntu) |
Fix Released
|
Undecided
|
Tormod Volden |
Bug Description
Binary package hint: laptop-mode-tools
In fixing bug #127273, I added the parts from the Debian .postinst to the Ubuntu one. This was autogenerated by debhelper. Therefore the Ubuntu postinst should rather contain "#DEBHELPER#" than having that part pasted in.
Just noting it here so that whoever merges it the next time can correct this.
Related branches
Changed in laptop-mode-tools: | |
assignee: | nobody → tormodvolden |
status: | New → In Progress |
To post a comment you must log in.
This bug was fixed in the package laptop-mode-tools - 1.42-1ubuntu1
---------------
laptop-mode-tools (1.42-1ubuntu1) intrepid; urgency=low
* Merge from debian unstable (LP: #229579), remaining changes: d/laptop- mode: Check if laptop mode is disabled in etc/default/ laptop- mode (that's the file laptop_mode looks into, too, acpi-support. laptop_ mode: Do not parse arguments, ignore "force" and laptop_ mode: Do not read $ACTIVATE_ WITH_POSSIBLE_ DATA_LOSS laptop- mode-state to see if state has changed. laptop- mode-tools. preinst: Remove any old acpi/apm scripts laptop- mode-tools. postinst: Create /etc/default/ laptop- mode LAPTOP_ MODE=false) if the file does not exist yet and we
- etc/init.
/
but it incorrectly evaluates the ENABLE_LAPTOP_MODE setting) as well
as in /etc/default/
- /usr/sbin/
"init" and let start/stop mean enable/disable.
- /usr/sbin/
from /var/run/
- debian/rules: Do not ship acpi/apm scripts (we handle that ourselves)
- debian/
- debian/
(with ENABLE_
are on ppc.
- debian/control: Change maintainer
* Use #DEBHELPER# in .postinst and .preinst (LP: #226788)
* Avoid using temporary files in init script to avoid hangs on
shutdown if filesystem is read-only (LP: #206217)
* Also accept "stop" as second argument since the init script
calls laptop_mode with "init stop"
laptop-mode-tools (1.42-1) unstable; urgency=low
* New upstream version 1.42: power_supply.
* Remove "echo -e" bashism in lm-profiler. Closes: #480606.
* Allow different names for AC adapter in /sys/class/
Closes: #478937.
* Add "hal-polling" module to control HAL polling of CD/DVD drives. (Taken
from powertop tips.) Closes: #438782.
* Add "bluetooth" module to disable bluetooth in battery mode. (Taken from
powertop tips.)
laptop-mode-tools (1.41-1) unstable; urgency=high
* New upstream version 1.41: power_supply interface. Closes: #477118. WITH_POSSIBLE_ DATA_LOSS.
* Support energy_* in /sys/class/
* Rename module "core" to "laptop-mode". Closes: #477310.
* Add missing assignment to ACTIVATE_
Closes: #477172.
laptop-mode-tools (1.40-1) unstable; urgency=high
* Upgrade standards version to 3.7.3. power_supply interface to determine battery levels.
* Add hal to recommends due to upstream changes.
* New upstream version 1.40:
* Add support for getting lid button state from HAL instead of from
/proc/acpi.
* Support /sys/class/
Closes: #475926
* Add generic support for config file swapping. Closes: #475304
* Add module for iwlwifi power management. Closes: #475407
* Fully modularized configuration.
laptop-mode-tools (1.36-1) unstable; urgency=low
* New upstream version 1.36. d/laptop- mode. Closes: #459422.
* Init script LSB header: depend on remote_fs instead of local_fs.
Closes: #468657.
* Remove ^M from /etc/init.
* Change package description to say "X11" instead of "X Windows".
Closes: #464066.
* Get rid of empty /usr/bin directory in package. (lintian warning)
-- Tormod Volden <email address hidden> Mon, 12 May 2008 16:24:50 +0200