Package: wvdial
Severity: normal
Tags: patch

Please use debconf to ask the user questions, with defaults.

The below patch at least allows wvdial to be installed noninteractively.

--- debian/postinst.orig        2005-07-19 15:07:50.625537683 -0700
+++ debian/postinst     2005-07-19 15:07:51.672403272 -0700
@@ -20,6 +20,12 @@
     fi
 fi
 
+if [ "$DEBIAN_FRONTEND" = noninteractive ]; then
+    echo "Not running wvdialconf."
+    echo "You can run wvdialconf later or create /etc/wvdial.conf manually."
+    exit 0
+fi
+
 set -e
 echo
 echo "WVDIAL AUTOCONFIGURATION"



-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.11-perfctr-2.6.13-bmc
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages wvdial depends on:
ii  libc6                   2.3.2.ds1-22     GNU C Library: Shared libraries an
ii  libstdc++2.10           1:2.95.2-14      The GNU stdc++ library
ii  ppp                     2.4.3-20050321+2 Point-to-Point Protocol (PPP) daem


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to