packagefs: Fix .settings package link for install path case
This commit is contained in:
parent
bbd4272be7
commit
f803a8a6cb
@ -98,7 +98,10 @@ PackageLinkSymlink::Update(Package* package, PackageLinksListener* listener)
|
||||
|
||||
if (package != NULL) {
|
||||
fLinkPath = package->InstallPath();
|
||||
if (fLinkPath == NULL) {
|
||||
if (fLinkPath != NULL) {
|
||||
if (fType == TYPE_SETTINGS)
|
||||
fLinkPath = ".self/settings";
|
||||
} else {
|
||||
fLinkPath = link_path_for_mount_type(
|
||||
package->Volume()->MountType(), fType);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user