example.sh: make symlinks to style, icons and index by default - stagit-gopher - A git gopher frontend. (mirror)
HTML git clone git://bitreich.org/stagit-gopher/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/stagit-gopher/
DIR Log
DIR Files
DIR Refs
DIR Tags
DIR README
DIR LICENSE
---
DIR commit 289ecda4aa8688b65300ae647912d791246e4abd
DIR parent 4f318941d086371f4e87f1e7b96f1c029f8766c2
HTML Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Tue, 5 Jan 2016 21:40:26 +0100
example.sh: make symlinks to style, icons and index by default
Diffstat:
M example.sh | 6 ++++++
1 file changed, 6 insertions(+), 0 deletions(-)
---
DIR diff --git a/example.sh b/example.sh
@@ -34,4 +34,10 @@ find . -maxdepth 1 -type d | grep -v "^.$" | sort | while read -r dir; do
stagit "${reposdir}${d}"
printf " done\n"
+
+ # symlinks
+ ln -sf log.html index.html
+ ln -sf ../style.css style.css
+ ln -sf ../logo.png logo.png
+ ln -sf ../favicon.png favicon.png
done