about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2007-04-30T18·41+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2007-04-30T18·41+0000
commite20f0da22ccb28d94bfd82fa66e2a723c75951f2 (patch)
tree6ad7cb0fdfc535aeb86c8e8b1dcabfc9b9a68c1c
parent89c1d2b202dccbf91c40586ac33efee515f7e93d (diff)
* Doh.
-rw-r--r--src/nix-env/nix-env.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nix-env/nix-env.cc b/src/nix-env/nix-env.cc
index 1a4d8ee5877d..3eea5c0c55e4 100644
--- a/src/nix-env/nix-env.cc
+++ b/src/nix-env/nix-env.cc
@@ -485,7 +485,7 @@ static void installDerivations(Globals & globals,
         MetaInfo meta = i->queryMetaInfo(globals.state);
         if (!globals.preserveInstalled &&
             newNames.find(drvName.name) != newNames.end() &&
-            meta["keep"] == "true")
+            meta["keep"] != "true")
             printMsg(lvlInfo,
                 format("replacing old `%1%'") % i->name);
         else