#19044947 : if redundant path is occurred, update with path

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7618 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
haneul 2010-07-30 01:47:41 +00:00
parent 5fb7a2b5bb
commit a0a1ae5fa7
2 changed files with 15 additions and 2 deletions

View file

@ -171,11 +171,16 @@
}
if($oModel->getPackage($args->package_srl))
{
executeQuery("autoinstall.updatePackage", $args);
$output = executeQuery("autoinstall.updatePackage", $args);
}
else
{
executeQuery("autoinstall.insertPackage", $args);
$output = executeQuery("autoinstall.insertPackage", $args);
if(!$output->toBool())
{
$output = executeQuery("autoinstall.deletePackage", $args);
$output = executeQuery("autoinstall.insertPackage", $args);
}
}
}
}