aboutsummaryrefslogtreecommitdiff
path: root/src/nix-env
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/nix-env
parent89c1d2b202dccbf91c40586ac33efee515f7e93d (diff)
* Doh.
Diffstat (limited to 'src/nix-env')
-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 1a4d8ee58..3eea5c0c5 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