mirror of
https://git.planet-casio.com/Lephenixnoir/GiteaPC.git
synced 2024-12-28 04:23:40 +01:00
parent
5f2757e11b
commit
b946986ca9
1 changed files with 3 additions and 1 deletions
|
@ -329,7 +329,9 @@ def install(*args, use_https=False, use_ssh=False, update=False, yes=False,
|
|||
dry_run=False):
|
||||
|
||||
# Update all repositories
|
||||
if args == () and update == True:
|
||||
if args == () and not update:
|
||||
return fatal(f"repo install: need one argument (unless -u is given)")
|
||||
if args == () and update:
|
||||
args = [ r.fullname for r in LocalRepo.all() ]
|
||||
|
||||
# Fetch every repository and determine its dependencies to form a basic
|
||||
|
|
Loading…
Reference in a new issue