mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2024-06-07 19:40:43 +00:00
[gb] Allow dir or file of .git
This commit is contained in:
parent
3147c5638f
commit
413de37568
@ -60,7 +60,7 @@ CREATING repository '$1' with:
|
|||||||
|
|
||||||
apply_repos() {
|
apply_repos() {
|
||||||
for rdir in /repos/*; do
|
for rdir in /repos/*; do
|
||||||
if [ -d $rdir/.git ]; then
|
if [ -e $rdir/.git ]; then
|
||||||
r=$(basename $rdir)
|
r=$(basename $rdir)
|
||||||
create_repo $r
|
create_repo $r
|
||||||
local url=$RET
|
local url=$RET
|
||||||
|
Loading…
Reference in New Issue
Block a user