* 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:
parent
06a75a7e0c
commit
618aa69b01
4 changed files with 81 additions and 24 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue