From d185de5cfe42b0bc364c66820b6e1de9343a064f Mon Sep 17 00:00:00 2001 From: david hill Date: Mon, 16 May 2016 10:58:05 -0500 Subject: [PATCH] change --- tools/configMgt/autoInstaller.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/configMgt/autoInstaller.cpp b/tools/configMgt/autoInstaller.cpp index db2247866..0ee7418e2 100644 --- a/tools/configMgt/autoInstaller.cpp +++ b/tools/configMgt/autoInstaller.cpp @@ -337,8 +337,8 @@ int main(int argc, char *argv[]) installDir = "/home/" + systemUser; //remove all calpont packages from local /root/ directory, can interfere with install - if (geteuid() == 0) - system("rm -f /root" + installLocation + "-*rpm /root/infinidb-*rpm /root/mariadb-*rpm "); + if (geteuid() == 0) { + system("rm -f /root/calpont-*rpm /root/infinidb-*rpm /root/mariadb-*rpm "); string systemDir = "systems/" + systemName + "/"; @@ -551,7 +551,7 @@ exit(0); cmd = "mv Calpont.xml " + systemDir + "/."; rtnCode = system(cmd.c_str()); if ( rtnCode == 0 ) { - /" + installLocation + ".xml found + // Calpont.xml found //try to parse it Config* sysConfigOld;