summaryrefslogtreecommitdiff
path: root/debian/OLD/config
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2013-02-07 21:11:22 -0800
committerIvan Kohler <ivan@freeside.biz>2013-02-07 21:11:22 -0800
commit154b0303d425ad2d670dd3ae74fd78d1bbff7f14 (patch)
tree1f8f3ab61aba695f7d5c3f8db593c550dacb0173 /debian/OLD/config
parentb808053966fd3c43edefa1b7c4b93cbeb7cf546e (diff)
checkpoint deb packaging wip
Diffstat (limited to 'debian/OLD/config')
-rw-r--r--debian/OLD/config19
1 files changed, 19 insertions, 0 deletions
diff --git a/debian/OLD/config b/debian/OLD/config
new file mode 100644
index 000000000..4ffa236f3
--- /dev/null
+++ b/debian/OLD/config
@@ -0,0 +1,19 @@
+#!/bin/sh
+# config script for freeside
+
+set -e
+
+# source debconf stuff
+. /usr/share/debconf/confmodule
+
+# source dbconfig-common shell library, and call the hook function
+if [ -f /usr/share/dbconfig-common/dpkg/config ]; then
+ # we support mysql and pgsql
+ dbc_dbtypes="pgsql, mysql"
+
+ # source dbconfig-common stuff
+ . /usr/share/dbconfig-common/dpkg/config
+ dbc_go freeside $@
+fi
+
+# ... rest of your code ...