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

Re: common function handling in maintainer scripts



This one time, at band camp, martin f krafft said:
> also sprach Stephen Gran <sgran@debian.org> [2005.02.25.0032 +0100]:
> > The second question is (on a completely unrelated note): is there
> > any problem with assuming the presence of a color capable $TERM
> 
> Yes.
> 
> > and is
> > anything likely to break if I do?
> 
> Output will be unlegible, as it will be interspersed by escape
> codes.

Right.

> > I have seen other linuces that use coloration in init.d scripts
> > for success and failure, and I thought it looked kind of cool.
> > Since it's easy, I was thinking about doing it in the binary
> > packages, but I wanted to ask if it was a bad idea first.
> 
> Uh, make sure you read over the policy, please. I don't think it's
> allowed to use colour in the init.d scripts. Which other packages do
> so? This isn't RedHat, you know? :)

I know, but there is nothing in policy that I could see about this,
which is why I asked.  No problem, though - this was just sort of an add
on that doesn't affect anything, so I won't do so.
-- 
 -----------------------------------------------------------------
|   ,''`.					     Stephen Gran |
|  : :' :					 sgran@debian.org |
|  `. `'			Debian user, admin, and developer |
|    `-					    http://www.debian.org |
 -----------------------------------------------------------------

Attachment: pgpgGJx79R5C5.pgp
Description: PGP signature


Reply to: