diff options
author | sefidel <contact@sefidel.net> | 2023-02-05 13:34:34 +0900 |
---|---|---|
committer | sefidel <contact@sefidel.net> | 2023-02-05 13:38:18 +0900 |
commit | bdf36408a71b1b3993a9552637d86495cb677b86 (patch) | |
tree | b33f807e151dcebe65d9e8832469323f4d112fdd | |
parent | 8b58776e9c2ad8ee5f7fd553a4650ca921e69579 (diff) | |
download | nixrc-bdf36408a71b1b3993a9552637d86495cb677b86.tar.gz nixrc-bdf36408a71b1b3993a9552637d86495cb677b86.zip |
feat(colmena/services): gitolite: also edit projects.list
-rw-r--r-- | colmena/cobalt/services/gitolite-noncore/rename | 2 |
1 files changed, 2 insertions, 0 deletions
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 |