Code

* Created "old" branch and moved stuff
[gosa.git] / branches / old / gosa-si / debian / gosa-si-common.postinst
diff --git a/branches/old/gosa-si/debian/gosa-si-common.postinst b/branches/old/gosa-si/debian/gosa-si-common.postinst
new file mode 100644 (file)
index 0000000..3d2b772
--- /dev/null
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+#DEBHELPER#
+
+# We exit unless the package is being configured
+case "$1" in
+        abort*upgrade)         exit 0;;
+        abort*remove)          exit 0;;
+        abort*deconfigure)     exit 0;;
+        configure) ;;
+        *)                     exit 0;
+esac
+
+[ -d /var/lib/gosa-si ] || install -d -o root -g root -m 750 /var/lib/gosa-si
+