summaryrefslogtreecommitdiff
path: root/gitolite-sync.conf.in
blob: 240ec0c11c35d000526756f0c0198df8c693756f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/bash

# this regex must match the to-be-synchronized remotes (or their url)
remote_regex='[@.]eckner\.net:'

# these directories contain the to-be-synchronized repositories
repository_dirs=(
  $(
    getent passwd #GITUSER# \
    | cut -d: -f6 \
    | sed 's,$,/repositories,'
  )
)