[24348] in Source-Commits
/svn/athena r23946 - trunk/debathena/scripts/installer
daemon@ATHENA.MIT.EDU (Geoffrey Thomas)
Sat Aug 1 12:39:48 2009
Date: Sat, 1 Aug 2009 12:39:36 -0400
From: Geoffrey Thomas <geofft@MIT.EDU>
Message-Id: <200908011639.n71Gdah6032165@drugstore.mit.edu>
To: source-commits@mit.edu
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Author: geofft
Date: 2009-08-01 12:39:36 -0400 (Sat, 01 Aug 2009)
New Revision: 23946
Modified:
trunk/debathena/scripts/installer/install-debathena.sh
Log:
install-debathena.sh: Set DEBCONF_NONINTERACTIVE_SEEN=true.
Without this setting, questions that DEBIAN_FRONTEND=noninteractive
suppresses, e.g. AFS cell and zephyr servers, are asked on the next
upgrade to those packages because they haven't been marked as seen yet.
Modified: trunk/debathena/scripts/installer/install-debathena.sh
===================================================================
--- trunk/debathena/scripts/installer/install-debathena.sh 2009-08-01 03:53:19 UTC (rev 23945)
+++ trunk/debathena/scripts/installer/install-debathena.sh 2009-08-01 16:39:36 UTC (rev 23946)
@@ -1,5 +1,5 @@
#!/bin/sh
-# Athena 10 installer script.
+# Athena installer script.
# Maintainer: debathena@mit.edu
# Based on original Debathena installer script by: Tim Abbott <tabbott@mit.edu>
@@ -9,6 +9,11 @@
set -e
+# If we run with the noninteractive frontend, mark Debconf questions as
+# seen, so you don't see all the suppressed questions next time you
+# upgrade that package, or worse, upgrade releases.
+export DEBCONF_NONINTERACTIVE_SEEN=true
+
output() {
printf '\033[38m'; echo "$@"; printf '\033[0m'
}