example.sh: make symlinks to style, icons and index by default - stagit-gopher - A git gopher frontend. (mirror)
git clone git://bitreich.org/stagit-gopher/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/stagit-gopher/
Log
Files
Refs
Tags
README
LICENSE
---
commit 289ecda4aa8688b65300ae647912d791246e4abd
parent 4f318941d086371f4e87f1e7b96f1c029f8766c2
Author: Hiltjo Posthuma 
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(-)
---
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