aboutsummaryrefslogtreecommitdiff
path: root/src/main.nim
diff options
context:
space:
mode:
authorkitsunyan2018-05-05 19:11:02 +0000
committerkitsunyan2018-05-05 19:11:02 +0000
commitb4f8782ab5ca934dac8f1c6dad52fbb3755dc005 (patch)
tree59a457ccb8bc6651d179a07400857aa5d5d775c5 /src/main.nim
parent220c977d972821298db64571e553b6c5bc36d374 (diff)
Assume "--noaur" if "--assume-installed" provided
Diffstat (limited to 'src/main.nim')
-rw-r--r--src/main.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.nim b/src/main.nim
index 10829b8..6280943 100644
--- a/src/main.nim
+++ b/src/main.nim
@@ -95,7 +95,7 @@ proc handleSync(args: seq[Argument], config: Config): int =
execResult(collectedArgs)
else:
let isNonDefaultRoot = not config.isRootDefault
- let isSkipDeps = args.check(%%%"nodeps")
+ let isSkipDeps = args.check(%%%"nodeps") or args.check(%%%"assume-installed")
let isRootNoDrop = currentUser.uid == 0 and not canDropPrivileges()
let build = args.check(%%%"build")