I was experimenting using dash as /bin/sh and noticed that a lot of
packages were having errors in their install scriptlets.
popen passes commands to /bin/sh so we need to explicitly invoke bash,
which the scriptlets are written for. WOO!
Signed-off-by: Loui Chang
---
lib/libalpm/trans.c |8
On Tue, Jul 28, 2009 at 6:34 PM, Loui Chang wrote:
> I was experimenting using dash as /bin/sh and noticed that a lot of
> packages were having errors in their install scriptlets.
>
> popen passes commands to /bin/sh so we need to explicitly invoke bash,
> which the scriptlets are written for. WOO!
On Tue 28 Jul 2009 18:50 +0200, Xavier wrote:
> On Tue, Jul 28, 2009 at 6:34 PM, Loui Chang wrote:
> > I was experimenting using dash as /bin/sh and noticed that a lot of
> > packages were having errors in their install scriptlets.
> >
> > popen passes commands to /bin/sh so we need to explicitly i
On Tue, Jul 28, 2009 at 12:46 PM, Loui Chang wrote:
> On Tue 28 Jul 2009 18:50 +0200, Xavier wrote:
>> On Tue, Jul 28, 2009 at 6:34 PM, Loui Chang wrote:
>> > I was experimenting using dash as /bin/sh and noticed that a lot of
>> > packages were having errors in their install scriptlets.
>> >
>> >
On Tue, Jul 28, 2009 at 7:54 PM, Aaron Griffin wrote:
>
> Another thought would be to make the scriptlet executable and pass the
> "function" as an arg to the script, this way we can support
> #!/bin/bash and #!/bin/sh as well as a myriad of other things
Then we need to put back the 3 magic lines
On Tue, Jul 28, 2009 at 12:59 PM, Xavier wrote:
> On Tue, Jul 28, 2009 at 7:54 PM, Aaron Griffin wrote:
>>
>> Another thought would be to make the scriptlet executable and pass the
>> "function" as an arg to the script, this way we can support
>> #!/bin/bash and #!/bin/sh as well as a myriad of oth
On Tue 28 Jul 2009 13:03 -0500, Aaron Griffin wrote:
> On Tue, Jul 28, 2009 at 12:59 PM, Xavier wrote:
> > On Tue, Jul 28, 2009 at 7:54 PM, Aaron Griffin
> > wrote:
> >>
> >> Another thought would be to make the scriptlet executable and pass the
> >> "function" as an arg to the script, this way we