git.lirion.de

Of git, get, and gud

aboutsummaryrefslogtreecommitdiffstats
path: root/www/update
diff options
context:
space:
mode:
authormail_redacted_for_web 2018-06-26 23:32:40 +0200
committermail_redacted_for_web 2018-06-26 23:32:40 +0200
commit0fc1cb64def2ac7c0e234670d2c72bd71107a818 (patch)
tree7146b8e417ac5439ac55dbb3321f34b04794c54f /www/update
downloadcgit-config-0fc1cb64def2ac7c0e234670d2c72bd71107a818.tar.bz2
Initial commit
Diffstat (limited to 'www/update')
-rwxr-xr-xwww/update13
1 files changed, 13 insertions, 0 deletions
diff --git a/www/update b/www/update
new file mode 100755
index 0000000..b118e70
--- /dev/null
+++ b/www/update
@@ -0,0 +1,13 @@
+#!/bin/sh
+
+php head.php > head.html
+
+# style.css
+# This will be included in the cgit head itself, so... well. Let's wrap it.
+echo '<style type="text/css">' > lirionnet.css
+cat "/wherever/lirionnet.css" >> lirionnet.css
+echo '</style>' >> lirionnet.css
+for i in "/fonts/telex-ht-regular.css" "/fonts/alte-din.css" "/fonts/elusive-icons.css"
+do
+ echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"$i\"/>" >> lirionnet.css
+done