pub / stagit-scripts

Building src.jayvii.de with stagit
git clone https://src.jayvii.de/pub/stagit-scripts.git
Home | Log | Files | Exports | Refs | README | RSS

commit 37d88499559f67b690d3964b58495916ddff36e9
parent 5c35a6be0de80378a9a96872a8f2ca2eb76b2842
Author: JayVii <jayvii[AT]posteo[DOT]de>
Date:   Sat,  8 Jun 2024 16:49:18 +0200

feat: Repo-Actvivity if module exists

Diffstat:
Mbin/git_update_repo_html.sh | 10++++++++++
1 file changed, 10 insertions(+), 0 deletions(-)

diff --git a/bin/git_update_repo_html.sh b/bin/git_update_repo_html.sh @@ -30,6 +30,15 @@ find "${1}/${2}/${3}" \ # build HTML stagit "${1}/${2}/${3}.git" +# Modules ---------------------------------------------------------------------- + +# Activity module +if [ -f "${1}/bin/activity.sh" ]; then + echo "Executing Activity Module" + ACTIVITY_HTML=`${1}/bin/activity.sh "${1}/${2}/${3}.git"` +fi + + # create summary index page cp "${1}/${2}/${3}/log.html" "${1}/${2}/${3}/index.html" @@ -52,6 +61,7 @@ RDME=$( SUMR=" <h2>${3}</h2> <p>${RDESC}</p> + ${ACTIVITY_HTML} <span>Clone this repository via:</span> <pre>git clone ${RURL}</pre> <ul>