From e20f0da22ccb28d94bfd82fa66e2a723c75951f2 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Mon, 30 Apr 2007 18:41:27 +0000 Subject: [PATCH] * Doh. --- src/nix-env/nix-env.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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