summarylogtreecommitdiffstats
path: root/loggerhead.install
diff options
context:
space:
mode:
Diffstat (limited to 'loggerhead.install')
-rw-r--r--loggerhead.install24
1 files changed, 24 insertions, 0 deletions
diff --git a/loggerhead.install b/loggerhead.install
new file mode 100644
index 000000000000..66776d90f3f9
--- /dev/null
+++ b/loggerhead.install
@@ -0,0 +1,24 @@
+post_install() {
+ echo ""
+ echo "You can now simply run the 'serve-branches' with the branch you want to"
+ echo "serve on the command line:"
+ echo ""
+ echo " ./serve-branches ~/path/to/branch"
+ echo ""
+ echo "The script listens on port 8080 so head to http://localhost:8080/ in"
+ echo "your browser to see the branch. You can also pass a directory that"
+ echo "contains branches to the script, and it will serve a very simple"
+ echo "directory listing at other pages."
+ echo ""
+ echo "Consult to /usr/share/doc/loggerhead/README.txt for further information."
+ echo ""
+}
+
+post_upgrade() {
+ post_install
+}
+
+op=$1
+shift
+
+$op $*