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

Re: RFC: change of example postinst scripts for fonts, and impl in dh_installtexfonts



On Don, 22 Dez 2005, Frank Küster wrote:
> > Please tell me your opinion, especially what you think about the
> > check_run_without_error function in the postrm part.
> 
> When I read postinst-texfonts, my first thought was "we should have a
> generic function for this".  check_run_without_error seems to be what I
> wanted. 

Ok.

> > It uses set -e and
> > set +e to catch errors.
> 
> Why does it do this?  Couldn't it just do
> 
> if $* > $tempfile 2>&1 ; then

Hmmm, well, I believe I tested this variant but it didn't work. Don't
ask me why. Now after testing again I am convinced that I am just too
stupid ;-) Guess this way it is much simpler. Thanks. I will incorporate
it.

The rest seems ok to you?

Best wishes

Norbert

-------------------------------------------------------------------------------
Dr. Norbert Preining <preining AT logic DOT at>             Università di Siena
gpg DSA: 0x09C5B094      fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5 B094
-------------------------------------------------------------------------------
ALLTAMI (n.)
The ancient art of being able to balance the hot and cold shower taps.
			--- Douglas Adams, The Meaning of Liff



Reply to: