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 728d5d24607dffaa1c2549b48a2b8ea7facdc7d0
parent 37d88499559f67b690d3964b58495916ddff36e9
Author: JayVii <jayvii[AT]posteo[DOT]de>
Date:   Sat,  8 Jun 2024 16:59:45 +0200

fix: remove file if index.html is symlink of log.html

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

diff --git a/bin/git_update_repo_html.sh b/bin/git_update_repo_html.sh @@ -40,6 +40,9 @@ fi # create summary index page +if [ -f "${1}/${2}/${3}/index.html" ]; then + rm "${1}/${2}/${3}/index.html" +fi cp "${1}/${2}/${3}/log.html" "${1}/${2}/${3}/index.html" ## remove content-field from new index