[26004] in Source-Commits
/svn/athena r25339 - trunk/debathena/scripts/installer
daemon@ATHENA.MIT.EDU (Jonathan D Reed)
Mon Aug 1 08:53:04 2011
Date: Mon, 1 Aug 2011 08:52:58 -0400
From: Jonathan D Reed <jdreed@MIT.EDU>
Message-Id: <201108011252.p71Cqwbs003335@drugstore.mit.edu>
To: source-commits@mit.edu
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Author: jdreed
Date: 2011-08-01 08:52:58 -0400 (Mon, 01 Aug 2011)
New Revision: 25339
Modified:
trunk/debathena/scripts/installer/install-debathena.beta.sh
Log:
Don't keep re-adding the line if the user mistakenly runs the installer twice
Modified: trunk/debathena/scripts/installer/install-debathena.beta.sh
===================================================================
--- trunk/debathena/scripts/installer/install-debathena.beta.sh 2011-08-01 05:41:24 UTC (rev 25338)
+++ trunk/debathena/scripts/installer/install-debathena.beta.sh 2011-08-01 12:52:58 UTC (rev 25339)
@@ -114,7 +114,7 @@
noacpi=n
fi
fi
- if [ "$noacpi" = "y" ]; then
+ if [ "$noacpi" = "y" ] && ! grep -q "Added by install-debathena.sh to address reboot issues on the Dell 790" /etc/default/grub; then
cat >> /etc/default/grub << 'EOF'
# Added by install-debathena.sh to address reboot issues on the Dell 790