Dr. Volker Zell wrote:
o Switched /usr/bin/init-config to use CSIH_SCRIPT
BTW, in the new init-config script:
# ======================================================================
# Action!
# ======================================================================
csih_enable_color
color is enabled by default. By explicitly (and unconditionally)
enabling it here, you defeat the purpose of this:
if [ "$PROGDIR" = "/etc/postinstall" ]
then
csih_auto_answer="no"
csih_disable_color
fi
if [ -n "${CONFIG_AUTO_ANSWER_NO}" ]
then
csih_auto_answer="no"
csih_disable_color
fi
Which means that the setup.log.full file will contain funny characters
-- IF /etc/postinstall/sysvinit invokes init-config. This brings up
another point (which may obviate the previous one):
In the past, /etc/postinstall/sysvinit.sh was a copy of init-config;
with csih, that's not the way to do it. Instead, the postinstall script
should execute init-config like this (using the variable name you chose
above):
export CONFIG_AUTO_ANSWER_NO=1
/usr/bin/init-config
However, the new package doesn't have a post-install script at all. I
wonder if you shouldn't:
(1) remove the explicit csih_enable_color from init-config
(2) add a postinstall script with the two lines above.
--
Chuck
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/