mirror of
https://github.com/daylinmorgan/git-server.git
synced 2024-11-14 16:17:53 -06:00
update soft-serve scripts
This commit is contained in:
parent
906998015a
commit
d781ad3657
2 changed files with 3 additions and 3 deletions
|
@ -14,7 +14,7 @@
|
||||||
"logo"
|
"logo"
|
||||||
],
|
],
|
||||||
"dest": [
|
"dest": [
|
||||||
"config"
|
".soft-serve"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -11,8 +11,8 @@ def get_config():
|
||||||
|
|
||||||
|
|
||||||
def get_name(config, repo):
|
def get_name(config, repo):
|
||||||
name = repo.name.replace(".git", "")
|
name = repo.name.replace(".git","")
|
||||||
dest = Path(config["paths"]["dest"]) / name
|
dest = Path(config["paths"]["dest"]) / repo.name
|
||||||
return name, dest
|
return name, dest
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue