This commit is contained in:
Eelco Dolstra 2007-04-30 18:41:27 +00:00
parent 89c1d2b202
commit e20f0da22c

View file

@ -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