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

Brian Morrison bdm at fenrir.org.uk
Fri Aug 8 17:10:22 CEST 2008


Bart Samwel wrote:
> 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

Hi Bart

Is there any chance of an updated rpm for Fedora, or even an updated
spec file?

-- 

Brian


More information about the laptop-mode mailing list