From 56e82963b465116af32231aa531e8f6344826eab Mon Sep 17 00:00:00 2001 From: kitsunyan Date: Sat, 9 Jun 2018 06:55:50 +0300 Subject: Allow to change the name of fake AUR repo --- src/pacman.nim | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/pacman.nim') 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), -- cgit v1.2.3-70-g09d2