diff options
author | kitsunyan | 2018-06-09 03:55:50 +0000 |
---|---|---|
committer | kitsunyan | 2018-06-09 03:55:50 +0000 |
commit | 56e82963b465116af32231aa531e8f6344826eab (patch) | |
tree | 5337cdef453d8b41b16841e09420ef02d5693295 /src/pacman.nim | |
parent | 07d3d493093f2222801ff9c71e27198575f90240 (diff) |
Allow to change the name of fake AUR repo
Diffstat (limited to 'src/pacman.nim')
-rw-r--r-- | src/pacman.nim | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/pacman.nim b/src/pacman.nim index c9f2cc8..7303eec 100644 --- a/src/pacman.nim +++ b/src/pacman.nim @@ -393,10 +393,6 @@ proc obtainPacmanConfig*(args: seq[Argument]): PacmanConfig = ignorePkgs: ignorePkgs + defaultConfig.ignorePkgs, ignoreGroups: ignoreGroups + defaultConfig.ignoreGroups) - if config.dbs.find("aur") >= 0: - raise commandError(tr"repo '$#' is reserved by this program" % ["aur"], - colorNeeded = some(color.get)) - pacmanValidateAndThrow((("sysroot", sysroot, ArgumentType.long), sysroot.isSome), (("root", some(config.pacmanRootRel), ArgumentType.long), not defaultRoot), (("dbpath", some(config.pacmanDbRel), ArgumentType.long), true), |