stagit-gopher

[fork] gopher git frontend
Log | Files | Refs | README | LICENSE

commit 6ad4e75ae0651395a962675fc2d5c4119704fc33
parent da7c23308e67c2509a50bd7f61baf4a2ce6ebde8
Author: hhvn <dev@haydenvh.com>
Date:   Sat,  6 Mar 2021 01:47:00 +0000

create.sh: add an informational section to index

Diffstat:
Mcreate.sh | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/create.sh b/create.sh @@ -21,7 +21,8 @@ destdir="${gopherdir}/${stagitdir}" stagitdir=$(printf "%s" "${stagitdir}" | sed 's@[/]*$@@g') # make index. -stagit-gopher-index -b "${stagitdir}" "${reposdir}/"*/ > "${destdir}/index.gph" +cp "${reposdir}/info" "${destdir}/index.gph" +stagit-gopher-index -b "${stagitdir}" "${reposdir}/"*/ | tail -n +2 >> "${destdir}/index.gph" # make files per repo. for dir in "${reposdir}/"*/; do