Package kit: more style fixes.
Pointed out by Axel this time. Thanks!
This commit is contained in:
parent
a22f114f7d
commit
36a9daf663
@ -110,8 +110,7 @@ BPackageManager::Init(uint32 flags)
|
||||
// well. But we can easily filter those out.
|
||||
_AddInstalledRepository(fSystemRepository);
|
||||
|
||||
if (!fSystemRepository->IsInstalled())
|
||||
{
|
||||
if (!fSystemRepository->IsInstalled()) {
|
||||
// Only add the home repository if the directory exists
|
||||
BPath path;
|
||||
status_t error = find_directory(B_USER_PACKAGES_DIRECTORY, &path);
|
||||
|
@ -92,8 +92,7 @@ PackageDaemon::MessageReceived(BMessage* message)
|
||||
error = message->FindInt64("root", &nodeRef.node);
|
||||
|
||||
if (fSystemRoot != NULL && (error != B_OK
|
||||
|| fSystemRoot->NodeRef() == nodeRef))
|
||||
{
|
||||
|| fSystemRoot->NodeRef() == nodeRef)) {
|
||||
fSystemRoot->HandleRequest(DetachCurrentMessage());
|
||||
} else if (error == B_OK) {
|
||||
Root* root = _FindRoot(nodeRef);
|
||||
|
Loading…
Reference in New Issue
Block a user