[haiku-commits] r36518 - haiku/trunk/src/apps/installer

  • From: mattmadia@xxxxxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Wed, 28 Apr 2010 16:03:06 +0200 (CEST)

Author: mmadia
Date: 2010-04-28 16:03:05 +0200 (Wed, 28 Apr 2010)
New Revision: 36518
Changeset: http://dev.haiku-os.org/changeset/36518/haiku

Modified:
   haiku/trunk/src/apps/installer/CopyEngine.cpp
Log:
Removed the incorrect _sources_ conditional from ResetTargets.


Modified: haiku/trunk/src/apps/installer/CopyEngine.cpp
===================================================================
--- haiku/trunk/src/apps/installer/CopyEngine.cpp       2010-04-28 13:38:49 UTC 
(rev 36517)
+++ haiku/trunk/src/apps/installer/CopyEngine.cpp       2010-04-28 14:03:05 UTC 
(rev 36518)
@@ -107,8 +107,7 @@
        // 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();


Other related posts:

  • » [haiku-commits] r36518 - haiku/trunk/src/apps/installer - mattmadia