Return to repo list


A collection of scripts for use with a simple remote git service.
Return to

commit 729ce7c5fbf2e892dd0584055fba352afdb5f3b8
parent ffa96d797b9b91264ebc1fffe802c351942298d3
Author: Erik Letson <>
Date:   Mon,  6 Jul 2020 11:27:20 -0500

must replace only first closing td tag

Diffstat: | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ b/ @@ -54,7 +54,7 @@ for j in $(ls $REPO_PATH); do sed -i "s,css\" href\=\".*style\.css\",css\" href\=\"$STYLE_URL\"," "$k" sed -i "s,<table>.*<img.*\/>,<table id\=\"title-head\"><tr><td><a href\=\"$WEB_URL\"><img src\=\"$LOGO_URL\" alt\=\"$LOGO_ALT\" width\=\"$ICON_WIDTH\" height\=\"$ICON_HEIGHT\" \/> ," "$k" sed -i "s,<\/a><\/td><\/tr><\/table>,<\/a> \| git clone: <a href\=\"$GIT_ACCESS_URL\/$j\">$GIT_ACCESS_URL\/$j<\/a><\/td><\/tr><\/table>," "$k" - sed -i "s,<\/td><\/tr>,<\/td><\/tr><tr><a href\=\"$HOME_PAGE_URL\">$HOME_LINK_TEXT<\/a><\/tr>," "$k" + sed -i "0,<\/td><\/tr>,{s,<\/td><\/tr>,<\/td><\/tr><tr><a href\=\"$HOME_PAGE_URL\">$HOME_LINK_TEXT<\/a><\/tr>}" "$k" done done