Commit 87d93d3e authored by Leigh Stoller's avatar Leigh Stoller

Minor cleanup and remove print statement that says how to fix; all

this will happen via the new update-testbed script.
parent 6bbf8b66
......@@ -2,7 +2,7 @@
#
# EMULAB-COPYRIGHT
# Copyright (c) 2000-2009 University of Utah and the Flux Group.
# Copyright (c) 2000-2010 University of Utah and the Flux Group.
# All rights reserved.
#
use strict;
......@@ -58,25 +58,9 @@ my $diff = (system("$schemadiff $db_schema $master_schema") >> 8);
unlink($db_schema);
if ($diff) {
my $objdir = `/bin/pwd`;
chomp($objdir);
print << "EOSTR";
The schema from $master_schema differs from
the running database. As a safety measure, you will not be able to
install until this is resolved.
If you are a user of the emulab software outside of Utah, this is
probably because your database was created for an older version of the
emulab software. You can update your database by:
boss> cd /your/srcdir/sql/updates
boss> perl $objdir/dbupdate $DBNAME
Be sure look in /your/srcdir/doc/UPDATING for any other instructions.
EOSTR
print "*** Your DB schema are out of date with $master_schema\n";
print " As a safety measure, you will not be able to install until\n";
print " this is resolved.\n";
exit(1);
} else {
exit(0);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment