fix so won't have double entries in cfgloc on the service node with db2install runs

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7890 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
lissav 2010-10-20 13:30:12 +00:00
parent 7c93f53ca5
commit 49a8e3d1ea

View File

@ -70,7 +70,6 @@ $::command = "$0 $args";
Getopt::Long::Configure("bundling");
$Getopt::Long::ignorecase = 0;
$::databaseloc = "/var/lib/db2"; # database loccation
# parse the options
if (
!GetOptions(
@ -1365,7 +1364,7 @@ sub createcfgloc
my $message;
# if they had an old cfgloc , save it
if ((-e ($cfgloc)) && (!(-e ($cfglocbackup))))
if (-e ($cfgloc)
{
$cmd = "mv $cfgloc $cfglocbackup";
xCAT::Utils->runcmd($cmd, 0);