ctucx.git: stagit

ctucx' stagit fork

commit 289ecda4aa8688b65300ae647912d791246e4abd
parent 4f318941d086371f4e87f1e7b96f1c029f8766c2
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
1 file changed, 6 insertions(+), 0 deletions(-)
M
example.sh
|
6
++++++
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