[laptop-mode] Making install.sh more distribution independent

Bart Samwel bart at samwel.tk
Tue Jul 15 15:30:23 CEST 2008


Hi Alon,

Alon Bar-Lev wrote:
> On Tuesday 15 July 2008, Bart Samwel wrote:
>> I've implemented this for version 1.44. I can now do:
>>
>> DESTDIR=~/testinstall INIT_D=none APM=force ACPI=disabled PMU=auto
>> ./install.sh
>>
> 
> Thanks!
> 
> Some fixups.
> 
> 1. Use install and not mkdir to create directories.
> 2. Use -z,-n for test.
> 3. Add many quotes for shell variables.
> 4. Create the sbin and man before use, currently no sbin script is installed if DESTDIR is used.
> 5. Some more cleanups.

Thanks for the patch! I know my sh style isn't always up to scratch. :-)
I've uploaded version 1.45 which contains your patch.

Cheers,
Bart


More information about the laptop-mode mailing list