mirror of
https://github.com/lxsang/antos-frontend.git
synced 2024-11-08 14:08:22 +01:00
fix path error on PackageFileHandle
This commit is contained in:
parent
b1649016f4
commit
2b67084392
@ -1337,10 +1337,10 @@ namespace OS {
|
||||
}
|
||||
else {
|
||||
// get the correct path of the package
|
||||
pkg_name = this.genealogy[0];
|
||||
pkg_name = this.genealogy.shift();
|
||||
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
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user