* In --upgrade': added flags --lt', --leq', --always' to specify

whether we want to upgrade if the current version is less than the
  available version (default), when it is less or equal, or always.
  
* Added a flag `--dry-run' to show what would happen in `--install',
  `--uninstall', and `--upgrade', without actually performing the
  operation.
This commit is contained in:
Eelco Dolstra 2004-02-09 11:59:39 +00:00
parent 06a75a7e0c
commit 618aa69b01
4 changed files with 81 additions and 24 deletions

View file

@ -1,6 +1,12 @@
#include "names.hh"
DrvName::DrvName()
{
name = "";
}
/* Parse a derivation name. The `name' part of a derivation name is
everything up to but not including the first dash *not* followed by
a letter. The `version' part is the rest (excluding the separating