[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: tempfile <-> IO::Handle::new_tmpfile?

Marcelo E. Magallon wrote:
> Hi,
>    can I use IO::Handle::new_tmpfile in an Perl script that's run on
>  postinst? The package has to Predepend on perl, right? 

Why not just depend on debianutils (>= 1.6) and use the tempfile command?

>  I'll use this
>  tempfile to modify a conffile (it *has* to be modified, it's not an
>  option)...

If it has to be modified, policy says it cannot be a conffile. Postinst
could create it instead.

see shy jo

To UNSUBSCRIBE, email to debian-mentors-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Reply to: