diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2021-11-29 22:56:46 -0700 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2021-11-29 23:04:17 -0700 |
commit | 5f9839601e7b95140e08502a751bc385163c9fe5 (patch) | |
tree | c758e0ad0fc69b12b89f16ec9521f34849b97689 /bin/locmaint | |
parent | 833a7ea17c15ab59c13e9f0411b3a15c041d0aef (diff) | |
download | dotfiles-5f9839601e7b95140e08502a751bc385163c9fe5.tar.gz |
attempt git config updates for recent file & git hosting changes
Diffstat (limited to 'bin/locmaint')
-rwxr-xr-x | bin/locmaint | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/locmaint b/bin/locmaint index ad8c3ace..d509e290 100755 --- a/bin/locmaint +++ b/bin/locmaint @@ -364,14 +364,14 @@ sub do_coldbkup { } # athena main repos - mkdir catfile($gitbk, "athena"); + mkdir catfile($gitbk, "athena"); # compat dirname my @athena_repos = map { if (m|^/srv/git/repositories/priv/(.+)\.git$|) { { uri => "athenap:$1", dir => "priv/$1.git" } } elsif (m|^/srv/git/repositories/(.+)\.git$|) { { uri => "athena:$1", dir => "$1.git" } } - } `ssh athena find /srv/git/repositories -name "*.git" -type d 2>/dev/null`; + } `ssh demeter find /srv/git/repositories -name "*.git" -type d 2>/dev/null`; backup_repo($_->{uri}, catfile($gitbk, "athena", $_->{dir})) for @athena_repos; @@ -379,7 +379,7 @@ sub do_coldbkup { mkdir catfile($gitbk, "athena_gcrypt"); my @gcrypt_repos = map { m|^/srv/gcrypt/(.+)$|; { uri => "athenag:$1", dir => "$1" } } - `ssh athena find /srv/gcrypt -name "*.git" -type d`; + `ssh athena find local/gcrypt -name "*.git" -type d`; chomp @gcrypt_repos; backup_repo($_->{uri}, catfile($gitbk, "athena_gcrypt", $_->{dir})) for @gcrypt_repos; |