Updated \ncc\Objects > PackageLock > addPackage()
https://git.n64.cc/nosial/ncc/-/issues/41
This commit is contained in:
parent
8ff91590d2
commit
1b5991425d
2 changed files with 2 additions and 2 deletions
|
@ -73,7 +73,8 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->Packages[$package->Assembly->Package]->UpdateSource = $package->Header->UpdateSource;
|
$this->Packages[$package->Assembly->Package]->UpdateSource = $package->Header->UpdateSource;
|
||||||
$this->Packages[$package->Assembly->Package]->addVersion($package, true);
|
$this->Packages[$package->Assembly->Package]->addVersion($package, $install_path, true);
|
||||||
|
$this->Packages[$package->Assembly->Package]->addVersion($package, $install_path, true);
|
||||||
$this->Packages[$package->Assembly->Package]->getDataPath();
|
$this->Packages[$package->Assembly->Package]->getDataPath();
|
||||||
$this->update();
|
$this->update();
|
||||||
}
|
}
|
||||||
|
|
|
@ -98,7 +98,6 @@
|
||||||
throw new ImportException(sprintf('Version %s of %s is not installed', $version, $package), $e);
|
throw new ImportException(sprintf('Version %s of %s is not installed', $version, $package), $e);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
if (self::isImported($package, $version))
|
if (self::isImported($package, $version))
|
||||||
|
|
Loading…
Add table
Reference in a new issue