Return to repo list

remgit-scripts

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

commit cd9ad7d42b2ee76928aab3fa325f2eb711442b55
parent 450409d8b720696d94bcd8cf54bc49acd04991c7
Author: Erik Letson <hmagellan@hmagellan.com>
Date:   Sat,  4 Jul 2020 10:10:28 -0500

added page header table formatting

Diffstat:
Mupstagit.sh | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/upstagit.sh b/upstagit.sh @@ -43,6 +43,7 @@ sed -i "s,<td><a href\=\",<td><a href=\"$WEB_REPO_DIR\/,g" "$WEB_PATH/index.html sed -i -E -e "s,src\=\".*logo\.png\",src\=\"$LOGO_URL\",g" "$WEB_PATH/index.html" sed -i -E -e "s,href\=\".*style\.css\",href\=\"$STYLE_URL\",g" "$WEB_PATH/index.html" sed -i "s,width\=\"32\" height\=\"32\",width\=\"$ICON_WIDTH\" height\=\"$ICON_HEIGHT\",g" "$WEB_PATH/index.html" +sed -i "s,<table>,<table id\=\"title-head\">," "$WEB_PATH/index.html" for j in $(ls $REPO_PATH); do for k in $(ls -R -a1 $WEB_PATH/$WEB_REPO_DIR/* | find $WEB_PATH/$WEB_REPO_DIR | grep ".html$"); do @@ -50,6 +51,7 @@ for j in $(ls $REPO_PATH); do sed -i -E -e "s,\=\"\(\.\.\/\)*logo\.png\",\=\"$LOGO_URL\",g" "$k" sed -i -E -e "s,\=\"\(\.\.\/\)*style\.css\",\=\"$STYLE_URL\",g" "$k" sed -i "s,width\=\"32\" height\=\"32\",width\=\"$ICON_WIDTH\" height=\=\"$ICON_HEIGHT\",g" "$k" + sed -i "s,<table>,<table id\=\"title-head\">," "$k" done done