mirror of
https://github.com/lxsang/antos-frontend.git
synced 2025-02-22 01:42:47 +01:00
fix path error on PackageFileHandle
This commit is contained in:
parent
b1649016f4
commit
2b67084392
@ -1337,10 +1337,10 @@ namespace OS {
|
|||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
// get the correct path of the package
|
// get the correct path of the package
|
||||||
pkg_name = this.genealogy[0];
|
pkg_name = this.genealogy.shift();
|
||||||
if(OS.setting.system.packages[pkg_name])
|
if(OS.setting.system.packages[pkg_name])
|
||||||
{
|
{
|
||||||
this.setPath(OS.setting.system.packages[pkg_name].path);
|
this.setPath(OS.setting.system.packages[pkg_name].path + "/" + this.genealogy.join("/"));
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user