summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2007-04-30 18:41:27 +0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2007-04-30 18:41:27 +0000
commite20f0da22ccb28d94bfd82fa66e2a723c75951f2 (patch)
tree6ad7cb0fdfc535aeb86c8e8b1dcabfc9b9a68c1c /src
parent89c1d2b202dccbf91c40586ac33efee515f7e93d (diff)
downloadguix-e20f0da22ccb28d94bfd82fa66e2a723c75951f2.tar.gz
* Doh.
Diffstat (limited to 'src')
-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 1a4d8ee587..3eea5c0c55 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