From bdf36408a71b1b3993a9552637d86495cb677b86 Mon Sep 17 00:00:00 2001 From: sefidel Date: Sun, 5 Feb 2023 13:34:34 +0900 Subject: feat(colmena/services): gitolite: also edit projects.list --- colmena/cobalt/services/gitolite-noncore/rename | 2 ++ 1 file changed, 2 insertions(+) diff --git a/colmena/cobalt/services/gitolite-noncore/rename b/colmena/cobalt/services/gitolite-noncore/rename index 091de82..00aa5ca 100644 --- a/colmena/cobalt/services/gitolite-noncore/rename +++ b/colmena/cobalt/services/gitolite-noncore/rename @@ -55,6 +55,8 @@ mv $GL_REPO_BASE/$from.git $topath $takeover && echo $GL_USER > $topath/gl-creator +[ -f "$HOME/projects.list" ] && sed "s:$from.git$:$to.git:g" -i "$HOME/projects.list" + echo "$from renamed to $to" >&2 exit -- cgit 1.4.1