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 245a47df0d8439cf4c6a9034152b3f4412c69629
parent 4d5c6d5238edd3b9fa8a953c8d2d90b18c219e25
Author: JayVii <jayvii[AT]posteo[DOT]de>
Date:   Tue, 11 Jun 2024 20:57:19 +0200

fix: re-word copy-message

Diffstat:
Mbin/git_update_repo_html.sh | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/git_update_repo_html.sh b/bin/git_update_repo_html.sh @@ -173,7 +173,7 @@ INJEXP="s/(<h1>)(${3})(<\/h1>)/\1<a\ href=\"\/${2}\/\">${2}<\/a>\ \/\ <a\ href=\ find "${1}/${2}/${3}/" -type f -name "*.html" -exec sed -E "${INJEXP}" -i {} \; # Replace "git clone" href -INJEXP="s/(git\ clone)\ <a href=\"(https:\/\/.*?\.git)\">/<a href='javascript:navigator.clipboard.writeText(\"\1 \2\");alert(\"\1 \2 copied to your clipboard\")';>\1 /g" +INJEXP="s/(git\ clone)\ <a href=\"(https:\/\/.*?\.git)\">/<a href='javascript:navigator.clipboard.writeText(\"\1 \2\");alert(\"Copied to your clipboard:\\\n\1 \2\")';>\1 /g" find "${1}/${2}/${3}/" -type f -name "*.html" -exec sed -E "${INJEXP}" -i {} \; # Linking Assets ---------------------------------------------------------------