On Mon, Nov 26, 2012 at 4:45 PM, Stuart Henderson <s...@spacehopper.org> wrote:
> On 2012/11/26 16:00, Pascal Stumpf wrote:
>> On Mon, 26 Nov 2012 14:49:40 +0000, Stuart Henderson wrote:
>> > On 2012/11/26 06:09, David Coppa wrote:
>> > >
>> > > Hi,
>> > >
>> > > Fix for the following error:
>> > >
>> > > ===>  Installing wesnoth-1.10.4p1 from /usr/ports/packages/amd64/all/
>> > > wesnoth-1.10.4p1|**************************************************************************************************************************************|100%
>> > > /bin/sh: /etc/rc.d/bin/update-desktop-database: not found
>> > > system(/bin/sh, -c, /etc/rc.d/bin/update-desktop-database) failed:  
>> > > exit(127)
>> >
>> > How come %D is being expanded to /etc/rc.d? That shouldn't happen.
>> >
>> >              %D      Expands to the current directory prefix, as set with
>> >                      @cwd; in the example case /usr/local.
>> >
>> > The only cwd in the package is @cwd /usr/local.
>> >
>> >
>>
>> @rcscript performs an implicit @cwd to ${RCDIR} (as documented in
>> pkg_create(1)).
>>
>
> Ah I see - not very common in the ports tree then - only wesnoth,
> kde/base3 and x11/x11vnc do this.
>
> The standard for update-desktop-database in PLISTs is to put it at
> the end of the PLIST file, so could this just be shifted immediately
> above the @rcscript please? (No need for the other ordering changes
> IMO..)

Sure.

Stuart, please commit it if you want to:
I'm too busy right now with job stuff to further elaborate this diff...

ciao,
david

Reply via email to