From 8e9e04129c230e7fdd8523c24e642a29bdbebbf3 Mon Sep 17 00:00:00 2001
From: hahn <axel.hahn@iml.unibe.ch>
Date: Tue, 12 Nov 2013 17:05:17 +0100
Subject: [PATCH] - added: onbuild script - removed dummy template

---
 hooks/onbuild                 | 15 +++++++++++++++
 hooks/templates/dummyfile.erb |  9 ---------
 2 files changed, 15 insertions(+), 9 deletions(-)
 create mode 100644 hooks/onbuild
 delete mode 100644 hooks/templates/dummyfile.erb

diff --git a/hooks/onbuild b/hooks/onbuild
new file mode 100644
index 00000000..bb7e705d
--- /dev/null
+++ b/hooks/onbuild
@@ -0,0 +1,15 @@
+#!/bin/bash
+# ======================================================================
+#
+# ONBUILD fuer CI Deployment GUI
+#
+# Aufgaben:
+# - gibt dem Wrapper fuer SSH Connections zu Git X-Rechte
+#
+# 2013-11-12  axel.hahn@iml.unibe.ch
+# ======================================================================
+
+cd `dirname $0`
+cd ..
+
+ls -l shellscripts/gitsshwrapper.sh && chmod 755 && shellscripts/gitsshwrapper.sh
\ No newline at end of file
diff --git a/hooks/templates/dummyfile.erb b/hooks/templates/dummyfile.erb
deleted file mode 100644
index 5af068ff..00000000
--- a/hooks/templates/dummyfile.erb
+++ /dev/null
@@ -1,9 +0,0 @@
-Hier ist ein Testfile
-Platzhalter 
-
-DB-Host: <%= $dbhost ?>
-DB-Schema: <%= $dbname ?>
-DB-User: <%= $dbuser ?>
-DB-Passwort: <%= $dbpassword ?>
-
-oder als URL: mysql://<%= $dbuser ?>
\ No newline at end of file
-- 
GitLab