[26174] in Source-Commits

home help back first fref pref prev next nref lref last post

/svn/athena r25437 - trunk/debathena/scripts/installer

daemon@ATHENA.MIT.EDU (Jonathan D Reed)
Mon Oct 31 16:19:13 2011

Date: Mon, 31 Oct 2011 16:19:11 -0400
From: Jonathan D Reed <jdreed@MIT.EDU>
Message-Id: <201110312019.p9VKJBxt025342@drugstore.mit.edu>
To: source-commits@MIT.EDU
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Author: jdreed
Date: 2011-10-31 16:19:11 -0400 (Mon, 31 Oct 2011)
New Revision: 25437

Modified:
   trunk/debathena/scripts/installer/install-debathena.beta.sh
Log:
Support Oneiric; set DEBIAN_FRONTEND=noninteractive everywhere

Modified: trunk/debathena/scripts/installer/install-debathena.beta.sh
===================================================================
--- trunk/debathena/scripts/installer/install-debathena.beta.sh	2011-10-28 21:31:43 UTC (rev 25436)
+++ trunk/debathena/scripts/installer/install-debathena.beta.sh	2011-10-31 20:19:11 UTC (rev 25437)
@@ -13,6 +13,7 @@
 # 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
+export DEBIAN_FRONTEND=noninteractive
 
 output() {
   printf '\033[38m'; echo "$@"; printf '\033[0m'
@@ -61,7 +62,7 @@
 case $distro in
   lenny|squeeze)
     ;;
-  hardy|intrepid|jaunty|karmic|lucid|maverick|natty)
+  hardy|intrepid|jaunty|karmic|lucid|maverick|natty|oneiric)
     ubuntu=yes
     ;;
   *)
@@ -380,7 +381,7 @@
 # debathena packages will later stomp on anyway.
 output "Installing main Debathena metapackage $mainpackage"
 
-DEBIAN_FRONTEND=noninteractive aptitude -y install "$mainpackage"
+aptitude -y install "$mainpackage"
 
 # Use the default front end and allow questions to be asked; otherwise
 # Java will fail to install since it has to present its license.


home help back first fref pref prev next nref lref last post