packagefs: Fix .settings package link for install path case

This commit is contained in:
Ingo Weinhold 2013-04-29 23:46:16 +02:00
parent bbd4272be7
commit f803a8a6cb
1 changed files with 4 additions and 1 deletions

View File

@ -98,7 +98,10 @@ PackageLinkSymlink::Update(Package* package, PackageLinksListener* listener)
if (package != NULL) { if (package != NULL) {
fLinkPath = package->InstallPath(); fLinkPath = package->InstallPath();
if (fLinkPath == NULL) { if (fLinkPath != NULL) {
if (fType == TYPE_SETTINGS)
fLinkPath = ".self/settings";
} else {
fLinkPath = link_path_for_mount_type( fLinkPath = link_path_for_mount_type(
package->Volume()->MountType(), fType); package->Volume()->MountType(), fType);
} }