Package: msttcorefonts Version: 1.2 Severity: normal Tags: patch
I'm trying to perform a non-interactive installation of msttcorefonts. I've pre-downloaded the exe files and don't want to re-download them.
The current config script ignores any existing debconf msttcorefonts/dldir value. I suggest adding a simple check to see
if the value has been defined before requesting it.
Below is a patch which implements my suggestion:
*** config Wed Mar 9 03:49:28 2005
--- config.orig Thu Oct 7 07:01:21 2004
***************
*** 70,79 ****
if [ -n "$NEEDUPDATE" ] ; then
db_reset msttcorefonts/blurb
db_input low msttcorefonts/blurb || true
! db_get msttcorefonts/dldir
! if [ -z "$RET" ] ; then
! db_input low msttcorefonts/dldir || true
! fi
db_go
db_get msttcorefonts/dldir
while [ -n "$RET" ] && [ `echo $RET | tr [:upper:] [:lower:] ` != "none" ] ; do
--- 70,76 ----
if [ -n "$NEEDUPDATE" ] ; then
db_reset msttcorefonts/blurb
db_input low msttcorefonts/blurb || true
! db_input low msttcorefonts/dldir || true
db_go
db_get msttcorefonts/dldir
while [ -n "$RET" ] && [ `echo $RET | tr [:upper:] [:lower:] ` != "none" ] ; do
-- System Information Debian Release: 3.0 Architecture: i386 Kernel: Linux wmtest 2.4.20-28.7 #1 Thu Dec 18 11:31:59 EST 2003 i686 Locale: LANG=en_US.iso885915, LC_CTYPE=en_US.iso885915
-- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]