Re: Using a perl lib from postinst

2009-11-17 Thread Rodolphe Quiédeville
Daniel Pittman a écrit : > Patrick Matthäi writes: >> Tollef Fog Heen schrieb: >>> ]] Dominique Dumont >>> >>> | Since the postinst is a shell script, you cannot call directly the >>> | perl lib. >>> >>> Postinsts can be written in any language, including perl, so he could >>> just write it in per

Re: Using a perl lib from postinst

2009-11-13 Thread Daniel Pittman
Patrick Matthäi writes: > Tollef Fog Heen schrieb: >> ]] Dominique Dumont >> >> | Since the postinst is a shell script, you cannot call directly the >> | perl lib. >> >> Postinsts can be written in any language, including perl, so he could >> just write it in perl and use the relevant module. >> >

Re: Using a perl lib from postinst

2009-11-13 Thread Patrick Matthäi
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Tollef Fog Heen schrieb: > ]] Dominique Dumont > > | Since the postinst is a shell script, you cannot call directly the > | perl lib. > > Postinsts can be written in any language, including perl, so he could > just write it in perl and use the relev

Re: Using a perl lib from postinst

2009-11-13 Thread Tollef Fog Heen
]] Dominique Dumont | Since the postinst is a shell script, you cannot call directly the | perl lib. Postinsts can be written in any language, including perl, so he could just write it in perl and use the relevant module. -- Tollef Fog Heen UNIX is user friendly, it's just picky about who its

Re: Using a perl lib from postinst

2009-11-12 Thread Rodolphe Quiedeville
Dominique Dumont a écrit on 12/11/2009 15:02: > On Wednesday 11 November 2009 20:16:08 Rodolphe Quiedeville wrote: >> I would like to use a perl lib included in postgresql-common from a >> postinst script. What have I to do ? > > I assume you want to call this perl lib from a postinst outside of

Re: Using a perl lib from postinst

2009-11-12 Thread Dominique Dumont
On Wednesday 11 November 2009 20:16:08 Rodolphe Quiedeville wrote: > I would like to use a perl lib included in postgresql-common from a > postinst script. What have I to do ? I assume you want to call this perl lib from a postinst outside of postgresql- common package. > Call directly from the

Using a perl lib from postinst

2009-11-11 Thread Rodolphe Quiedeville
Hi, I would like to use a perl lib included in postgresql-common from a postinst script. What have I to do ? Call directly from the postinst or write a perl script called from postinst ? Regards, -- Rodolphe Quiédeville - Artisan Logiciel Libre http://rodolphe.quiedeville.org/ Travaillons Libre