From 99d65cbc814977f9f18655d4a048e6ab0ec91337 Mon Sep 17 00:00:00 2001 From: Matt Madia Date: Wed, 28 Apr 2010 14:03:05 +0000 Subject: [PATCH] Removed the incorrect _sources_ conditional from ResetTargets. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36518 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/apps/installer/CopyEngine.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/apps/installer/CopyEngine.cpp b/src/apps/installer/CopyEngine.cpp index 1fbd297422..dedc19666c 100644 --- a/src/apps/installer/CopyEngine.cpp +++ b/src/apps/installer/CopyEngine.cpp @@ -107,8 +107,7 @@ CopyEngine::ResetTargets(const char* source) // makes sense, since passing a volume is meant to folders that are // volume specific, like "trash". BPath path(source); - if ((path.Append("common/var") == B_OK) - || (path.Append("_sources_") == B_OK)) + if (path.Append("common/var") == B_OK) fVarDirectory.SetTo(path.Path()); else fVarDirectory.Unset();