[25308] in Source-Commits
/svn/athena r24891 - trunk/debathena/scripts/installer
daemon@ATHENA.MIT.EDU (Geoffrey Thomas)
Sat Oct 9 15:24:15 2010
Date: Sat, 9 Oct 2010 15:24:09 -0400
From: Geoffrey Thomas <geofft@MIT.EDU>
Message-Id: <201010091924.o99JO9hO020250@drugstore.mit.edu>
To: source-commits@mit.edu
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Author: geofft
Date: 2010-10-09 15:24:09 -0400 (Sat, 09 Oct 2010)
New Revision: 24891
Modified:
trunk/debathena/scripts/installer/install-debathena.sh
Log:
install-debathena: Preinstall aptitude, since maverick doesn't have it
Modified: trunk/debathena/scripts/installer/install-debathena.sh
===================================================================
--- trunk/debathena/scripts/installer/install-debathena.sh 2010-10-08 20:07:43 UTC (rev 24890)
+++ trunk/debathena/scripts/installer/install-debathena.sh 2010-10-09 19:24:09 UTC (rev 24891)
@@ -169,6 +169,11 @@
read dummy
fi
+if ! hash aptitude >/dev/null 2>&1; then
+ output "Installing Debathena installer dependency: aptitude"
+ apt-get -y install aptitude
+fi
+
output "Installing Debathena installer dependencies: lsb-release, wget, and dnsutils"
aptitude -y install lsb-release wget dnsutils
if [ yes = "$resolvconfhack" ]; then