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

Bug#207453: apache-common: /usr/share/apache/postinst.common: line 189: /dev/tty: No such device or address



Hello,

How goes the fix for this bug?  Would it be reasonable to check for the
presence of a tty, use it if present, and if absent do something like
this?:

if ! yes '' | $apacheconfig "$@"; then
	...

That would result in apacheconfig being handed default answers whenever
running non-interactively, which should at least work for any y/n
questions (which is all I remember seeing from apacheconfig).

Cheers,
-- 
Steve Langasek
postmodern programmer

Attachment: signature.asc
Description: Digital signature


Reply to: