Track hcoop header generating scripts
authorClinton Ebadi <clinton@unknownlamer.org>
Fri, 21 Feb 2014 19:32:40 +0000 (14:32 -0500)
committerClinton Ebadi <clinton@unknownlamer.org>
Fri, 21 Feb 2014 19:32:40 +0000 (14:32 -0500)
scripts/hcoop_footer [new file with mode: 0755]
scripts/hcoop_header [new file with mode: 0755]
scripts/hcoop_html [new file with mode: 0755]

diff --git a/scripts/hcoop_footer b/scripts/hcoop_footer
new file mode 100755 (executable)
index 0000000..3bbd378
--- /dev/null
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+cat /etc/hcoop.footer
diff --git a/scripts/hcoop_header b/scripts/hcoop_header
new file mode 100755 (executable)
index 0000000..a88619a
--- /dev/null
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+cat /etc/hcoop.header | sed "s/TITLE/$1/g"
diff --git a/scripts/hcoop_html b/scripts/hcoop_html
new file mode 100755 (executable)
index 0000000..e190643
--- /dev/null
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+hcoop_header "$1"
+cat $2
+hcoop_footer
+